Skip to content

Commit

Permalink
Merge pull request #204 from hyperledger-labs/fix-timeout-check
Browse files Browse the repository at this point in the history
follow-up #202: fix timeout check

Signed-off-by: Jun Kimura <[email protected]>
  • Loading branch information
bluele authored Aug 31, 2023
2 parents 3c89bc6 + 7265894 commit 35814ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/core/04-channel/IBCPacket.sol
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ contract IBCPacket is IBCStore, IIBCPacket {
"block height >= packet timeout height"
);
require(
msg_.packet.timeout_timestamp == 0 || block.timestamp < msg_.packet.timeout_timestamp,
msg_.packet.timeout_timestamp == 0 || block.timestamp * 1e9 < msg_.packet.timeout_timestamp,
"block timestamp >= packet timeout timestamp"
);

Expand Down

0 comments on commit 35814ef

Please sign in to comment.