mirror of
https://github.com/Instadapp/yield-contract.git
synced 2024-07-29 21:47:29 +00:00
minor change
This commit is contained in:
parent
3dea5e8cb0
commit
525d2ab403
|
@ -126,7 +126,7 @@ contract Registry {
|
||||||
|
|
||||||
function updateInsureFee(address _pool, uint _newFee) external isChief {
|
function updateInsureFee(address _pool, uint _newFee) external isChief {
|
||||||
require(isPool[_pool], "not-pool");
|
require(isPool[_pool], "not-pool");
|
||||||
require(_newFee < 1000000000000000000, "insure-fee-limit-reached");
|
require(_newFee < 10 ** 18, "insure-fee-limit-reached");
|
||||||
insureFee[_pool] = _newFee;
|
insureFee[_pool] = _newFee;
|
||||||
emit LogUpdateInsureFee(_pool, _newFee);
|
emit LogUpdateInsureFee(_pool, _newFee);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user