Skip to content

Commit 880127e

Browse files
Joe Bowmanmergify-bot
Joe Bowman
authored and
mergify-bot
committed
call packet.GetSequence() rather than passing the func as argument (#995)
(cherry picked from commit fc452ac)
1 parent 22bea13 commit 880127e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
8888
* (testing) [\#884](https://github.com/cosmos/ibc-go/pull/884) Add and use in simapp a custom ante handler that rejects redundant transactions
8989
* (transfer) [\#978](https://github.com/cosmos/ibc-go/pull/978) Support base denoms with slashes in denom validation
9090
* (client) [\#941](https://github.com/cosmos/ibc-go/pull/941) Classify client states without consensus states as expired
91+
* (modules/core/04-channel) [\#994](https://github.com/cosmos/ibc-go/pull/944) Call `packet.GetSequence()` rather than passing func in `AcknowledgePacket` log output
9192

9293
## [v2.0.2](https://github.com/cosmos/ibc-go/releases/tag/v2.0.2) - 2021-12-15
9394

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ func (k Keeper) AcknowledgePacket(
494494
// log that a packet has been acknowledged
495495
k.Logger(ctx).Info(
496496
"packet acknowledged",
497-
"sequence", packet.GetSequence,
497+
"sequence", packet.GetSequence(),
498498
"src_port", packet.GetSourcePort(),
499499
"src_channel", packet.GetSourceChannel(),
500500
"dst_port", packet.GetDestPort(),

0 commit comments

Comments
 (0)