Skip to content

Commit dbd2df2

Browse files
call packet.GetSequence() rather than passing the func as argument (cosmos#1130)
* call packet.GetSequence() rather than passing the func as argument * add changelog entry
1 parent fb7a230 commit dbd2df2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ Ref: https://keepachangelog.com/en/1.0.0/
4848

4949
### Bug Fixes
5050

51+
* (modules/core/04-channel) [\#1130](https://github.com/cosmos/ibc-go/pull/1130) Call `packet.GetSequence()` rather than passing func in `WriteAcknowledgement` log output
52+
5153
## [v3.0.0](https://github.com/cosmos/ibc-go/releases/tag/v3.0.0) - 2022-03-15
5254

5355
### Dependencies

modules/core/04-channel/keeper/packet.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ func (k Keeper) WriteAcknowledgement(
360360
// log that a packet acknowledgement has been written
361361
k.Logger(ctx).Info(
362362
"acknowledgement written",
363-
"sequence", packet.GetSequence,
363+
"sequence", packet.GetSequence(),
364364
"src_port", packet.GetSourcePort(),
365365
"src_channel", packet.GetSourceChannel(),
366366
"dst_port", packet.GetDestPort(),

0 commit comments

Comments
 (0)