From c0f97ca040ebfeafda98321143f2ffc59fb55437 Mon Sep 17 00:00:00 2001 From: Sanchay Mittal Date: Thu, 4 May 2023 15:47:48 +0900 Subject: [PATCH] chg: deadline check !review Co-authored-by: Thrilok kumar --- contracts/InstadappAdapter.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/InstadappAdapter.sol b/contracts/InstadappAdapter.sol index 79ffc0d..4fcde49 100644 --- a/contracts/InstadappAdapter.sol +++ b/contracts/InstadappAdapter.sol @@ -102,7 +102,7 @@ contract InstadappAdapter is EIP712 { require(!sigReplayProtection[salt], "Replay Attack"); // check if signature is not expired - require(block.timestamp <= deadline, "Signature Expired"); + require(block.timestamp < deadline, "Signature Expired"); // check if signature is valid, and not replayed require(verify(auth, signature, castData, salt, deadline), "Invalid signature");