Skip to content

Commit

Permalink
tolerance datatype changed (#641)
Browse files Browse the repository at this point in the history
  • Loading branch information
SamAg19 authored Jan 12, 2022
1 parent 04908b1 commit 5e3f45f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/Core/parameters/Governance.sol
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ contract Governance is Initializable, ACL, Constants {
stakeManagerParams.setEpochLimitForUpdateCommission(_epochLimitForUpdateCommission);
}

function setMaxTolerance(uint8 _maxTolerance) external onlyRole(GOVERNER_ROLE) {
function setMaxTolerance(uint16 _maxTolerance) external onlyRole(GOVERNER_ROLE) {
require(_maxTolerance <= BASE_DENOMINATOR, "Slash nums addtion exceeds 10000");
emit ParameterChanged(msg.sender, "maxTolerance", _maxTolerance, block.timestamp);
assetManagerParams.setMaxTolerance(_maxTolerance);
Expand Down

0 comments on commit 5e3f45f

Please sign in to comment.