Skip to content

Commit

Permalink
Correct revert message
Browse files Browse the repository at this point in the history
  • Loading branch information
kanewallmann committed Aug 16, 2024
1 parent 71f11ce commit 2b92afd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ contract RocketDAOProtocolSettingsProposals is RocketDAOProtocolSettings, Rocket
require(_value >= 30 minutes, "Value must be at least 30 minutes");
} else if(settingKey == keccak256(bytes("proposal.quorum"))) {
// Must be >= 15% & < 75%
require(_value >= 0.15 ether && _value < 0.75 ether, "Value must be >= 51% & < 75%");
require(_value >= 0.15 ether && _value < 0.75 ether, "Value must be >= 15% & < 75%");
} else if(settingKey == keccak256(bytes("proposal.veto.quorum"))) {
// Must be >= 15% & < 75%
require(_value >= 0.15 ether && _value < 0.75 ether, "Value must be >= 51% & < 75%");
require(_value >= 0.15 ether && _value < 0.75 ether, "Value must be >= 15% & < 75%");
} else if(settingKey == keccak256(bytes("proposal.max.block.age"))) {
// Must be > 128 blocks & < 7200 blocks (RPIP-33)
require(_value > 128 && _value < 7200, "Value must be > 128 blocks & < 7200 blocks");
Expand Down

0 comments on commit 2b92afd

Please sign in to comment.