From a426722e5723ab514de20da8894947bf75402055 Mon Sep 17 00:00:00 2001 From: Thrilok kumar Date: Sun, 30 Aug 2020 18:29:41 +0530 Subject: [PATCH] Update registry.sol --- contracts/registry.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/registry.sol b/contracts/registry.sol index a823e5b..0bcb3d2 100644 --- a/contracts/registry.sol +++ b/contracts/registry.sol @@ -149,7 +149,7 @@ contract Registry { function updateWithdrawalFee(address _pool, uint _newFee) external isMaster { require(isPool[_pool], "not-pool"); - require(_newFee < 5 ** 16, "insure-fee-limit-reached"); + require(_newFee < 5 * 10 ** 16, "insure-fee-limit-reached"); // max 5% require(withdrawalFee[_pool] != _newFee, "same-pool-fee"); withdrawalFee[_pool] = _newFee; emit LogUpdateWithdrawalFee(_pool, _newFee);