Skip to content

Commit

Permalink
call packet.GetSequence() rather than passing the func as argument (b…
Browse files Browse the repository at this point in the history
…ackport cosmos#1130) (cosmos#1139)

* 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

(cherry picked from commit dbd2df2)

* fix conflicts

Co-authored-by: Carlos Rodriguez <carlos@interchain.io>
  • Loading branch information
2 people authored and dudong2 committed Jan 19, 2023
1 parent c366ca9 commit d91f181
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/core/04-channel/keeper/packet.go
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ func (k Keeper) WriteAcknowledgement(
// log that a packet acknowledgement has been written
k.Logger(ctx).Info(
"acknowledgement written",
"sequence", packet.GetSequence,
"sequence", packet.GetSequence(),
"src_port", packet.GetSourcePort(),
"src_channel", packet.GetSourceChannel(),
"dst_port", packet.GetDestPort(),
Expand Down

0 comments on commit d91f181

Please sign in to comment.