Skip to content

Commit

Permalink
chore(vetoer-set): remove obsolete uint8 cast
Browse files Browse the repository at this point in the history
  • Loading branch information
xenoliss committed Apr 15, 2024
1 parent a208a03 commit 9784d5d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/contracts-bedrock/src/Safe/VetoerSet/OwnerGuard.sol
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ contract OwnerGuard is ISemver, BaseGuard {

// Set the initial `maxOwnerCount`, to the greater between `INITIAL_MAX_OWNER_COUNT` and the current owner
// count.
uint256 ownerCount = _safe.getOwners().length;
maxOwnerCount = uint8(FixedPointMathLib.max(INITIAL_MAX_OWNER_COUNT, ownerCount));
maxOwnerCount = FixedPointMathLib.max(INITIAL_MAX_OWNER_COUNT, _safe.getOwners().length);
}

/// @notice Inherited hook from the `Guard` interface that is run right before the transaction is executed
Expand Down

0 comments on commit 9784d5d

Please sign in to comment.