From 525d2ab40363b28fc9de596438627d244d677b69 Mon Sep 17 00:00:00 2001 From: Thrilok Kumar Date: Tue, 25 Aug 2020 19:50:00 +0530 Subject: [PATCH] minor change --- contracts/registry.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/registry.sol b/contracts/registry.sol index 3822ea9..98544d0 100644 --- a/contracts/registry.sol +++ b/contracts/registry.sol @@ -126,7 +126,7 @@ contract Registry { function updateInsureFee(address _pool, uint _newFee) external isChief { require(isPool[_pool], "not-pool"); - require(_newFee < 1000000000000000000, "insure-fee-limit-reached"); + require(_newFee < 10 ** 18, "insure-fee-limit-reached"); insureFee[_pool] = _newFee; emit LogUpdateInsureFee(_pool, _newFee); }