Skip to content

Commit 5467f1e

Browse files
committed
Cleanup
1 parent 5e01461 commit 5467f1e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

x/wasm/ibc.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -419,8 +419,7 @@ func (i IBCHandler) IBCReceivePacketCallback(
419419
// detect successful IBC transfer, meaning:
420420
// 1. it was sent to the transfer module
421421
// 2. the acknowledgement was successful
422-
if packet.GetDestPort() == i.transferKeeper.GetPort(cachedCtx) &&
423-
ack.Success() && err == nil {
422+
if packet.GetDestPort() == i.transferKeeper.GetPort(cachedCtx) && ack.Success() {
424423

425424
transferData, err := transfertypes.UnmarshalPacketData(packet.GetData(), version, "")
426425
if err != nil {

0 commit comments

Comments
 (0)