Skip to content

Commit

Permalink
chore: revert consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-something committed Jul 26, 2024
1 parent 00cd7d1 commit ea280d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/invariants/helpers/AdvancedTestsUtils.sol
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ contract EchidnaTest is AgentsHandler {

constructor() AgentsHandler(5) {}

function clamp(uint256 _value, uint256 _min, uint256 _max) internal returns (uint256) {
function clamp(uint256 _value, uint256 _min, uint256 _max) internal pure returns (uint256) {
if (_min > _max) {
emit AssertionFailed();
assert(false);
}

if (_value < _min || _value > _max) {
Expand Down

0 comments on commit ea280d9

Please sign in to comment.