From 9d8714a16300a21028697b2965bbc8e87587896f Mon Sep 17 00:00:00 2001 From: Thrilok Kumar Date: Sat, 18 Jul 2020 00:56:22 +0530 Subject: [PATCH] Fixed bug --- contracts/mapping/instapoolFee.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/mapping/instapoolFee.sol b/contracts/mapping/instapoolFee.sol index 52ef00a..9d0080c 100644 --- a/contracts/mapping/instapoolFee.sol +++ b/contracts/mapping/instapoolFee.sol @@ -20,7 +20,7 @@ contract Helpers { } function changeFee(uint256 _fee) external isChief { - require(fee <= 2 * 10 ** 15, "Fee is more than 0.2%"); + require(_fee <= 2 * 10 ** 15, "Fee is more than 0.2%"); fee = uint64(_fee); emit LogChangeFee(_fee); }