Skip to content

Commit

Permalink
Update modules/core/04-channel/v2/keeper/packet.go
Browse files Browse the repository at this point in the history
  • Loading branch information
damiannolan authored Oct 21, 2024
1 parent 3b158d4 commit 0d10de6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/core/04-channel/v2/keeper/packet.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func (k *Keeper) sendPacket(

timeout := types.TimeoutTimestampToNanos(packet.TimeoutTimestamp)
if timeout < latestTimestamp {
return 0, "", errorsmod.Wrapf(channeltypes.ErrTimeoutElapsed, "latest timestamp: %d, timeout timestamp: %d", latestTimestamp, packet.TimeoutTimestamp)
return 0, "", errorsmod.Wrapf(channeltypes.ErrTimeoutElapsed, "latest timestamp: %d, timeout timestamp: %d", latestTimestamp, timeout)
}

commitment := types.CommitPacket(packet)
Expand Down

0 comments on commit 0d10de6

Please sign in to comment.