From dc67cc09d1016d0d40abe87313b0978531f4ef6e Mon Sep 17 00:00:00 2001 From: Thrilok Kumar Date: Thu, 24 Sep 2020 17:46:10 +0530 Subject: [PATCH] fixed bug --- contracts/flusher/flusher.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/flusher/flusher.sol b/contracts/flusher/flusher.sol index 648b539..df4bf81 100644 --- a/contracts/flusher/flusher.sol +++ b/contracts/flusher/flusher.sol @@ -24,7 +24,7 @@ contract Flusher is Proxy { function setBasic(address newImplementation) public { require(_implementation() == address(0), "_implementation-logic-already-set"); - require(newImplementation == address(0), "newImplementation-not-vaild"); + require(newImplementation != address(0), "newImplementation-not-vaild"); bytes32 slot = _IMPLEMENTATION_SLOT; // solhint-disable-next-line no-inline-assembly