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); }