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
Co-authored-by: DimitrisJim <d.f.hilliard@gmail.com>
  • Loading branch information
damiannolan and DimitrisJim authored Oct 21, 2024
1 parent cc45517 commit 3b158d4
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 @@ -119,7 +119,7 @@ func (k *Keeper) recvPacket(
currentTimestamp := uint64(sdkCtx.BlockTime().UnixNano())
timeout := types.TimeoutTimestampToNanos(packet.TimeoutTimestamp)
if timeout <= currentTimestamp {
return errorsmod.Wrapf(channeltypes.ErrTimeoutElapsed, "current timestamp: %d, timeout timestamp: %d", currentTimestamp, packet.GetTimeoutTimestamp())
return errorsmod.Wrapf(channeltypes.ErrTimeoutElapsed, "current timestamp: %d, timeout timestamp: %d", currentTimestamp, timeout)
}

// REPLAY PROTECTION: Packet receipts will indicate that a packet has already been received
Expand Down

0 comments on commit 3b158d4

Please sign in to comment.