From 87b2500483b4693a6e07343f573b48fa0656dbf9 Mon Sep 17 00:00:00 2001 From: Thrilok kumar Date: Wed, 26 Aug 2020 21:08:11 +0530 Subject: [PATCH] Changed from 90 days to 30 days shield time --- contracts/flusher.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/flusher.sol b/contracts/flusher.sol index 26152d0..3ca6504 100644 --- a/contracts/flusher.sol +++ b/contracts/flusher.sol @@ -23,7 +23,7 @@ contract Flusher { RegistryInterface public constant registry = RegistryInterface(address(0)); // TODO - Change while deploying. bool public shield; uint256 public shieldBlockTime; - uint256 internal waitBlockTime = 518400; // 90 days blocktime. + uint256 internal waitBlockTime = 172800; // 30 days blocktime. modifier isSigner { require(registry.signer(msg.sender), "not-signer"); @@ -136,7 +136,7 @@ contract Flusher { */ function spell(address _target, bytes calldata _data) external isChief { require(!shield, "shield-access-denied"); - require(shieldBlockTime != 0 && shieldBlockTime <= block.number, "more-than-ninty-days"); + require(shieldBlockTime != 0 && shieldBlockTime <= block.number, "more-than-30-days"); require(_target != address(0), "target-invalid"); require(_data.length > 0, "data-invalid"); bytes memory _callData = _data;