Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JustAnotherDevv committed Nov 16, 2024
1 parent 4cb49db commit 0539723
Show file tree
Hide file tree
Showing 4 changed files with 299 additions and 194 deletions.
5 changes: 3 additions & 2 deletions contracts/src/MessageVerification.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
pragma solidity ^0.8.19;
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.25;
import "./interfaces/IETHRegistrarController.sol";
import "./interfaces/IBaseRegistrar.sol";
import "./interfaces/IPriceOracle.sol";
Expand Down Expand Up @@ -45,7 +46,7 @@ contract MessageVerification {

function isNameExpiringSoon(string memory name) public view returns (bool) {
uint256 expiryDate = getNameExpiry(name);
return expiryDate > 0 && expiryDate <= block.timestamp + 30 days;
return expiryDate > 0 && expiryDate <= block.timestamp + 600 days;
}

function calculateIntentHash(string[] memory names, uint256 value, uint256 nonce, uint256 deadline, bool oneTime) public pure returns (bytes32) {
Expand Down
Binary file added solver/messages.db
Binary file not shown.
Loading

0 comments on commit 0539723

Please sign in to comment.