From 3b158d40d4f29215a00ca62ca094b0555fe3225c Mon Sep 17 00:00:00 2001 From: Damian Nolan Date: Mon, 21 Oct 2024 16:37:25 +0200 Subject: [PATCH] Update modules/core/04-channel/v2/keeper/packet.go Co-authored-by: DimitrisJim --- modules/core/04-channel/v2/keeper/packet.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/04-channel/v2/keeper/packet.go b/modules/core/04-channel/v2/keeper/packet.go index 3d61830bba7..63b16511975 100644 --- a/modules/core/04-channel/v2/keeper/packet.go +++ b/modules/core/04-channel/v2/keeper/packet.go @@ -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