diff --git a/packages/contracts-bedrock/src/Safe/VetoerSet/OwnerGuard.sol b/packages/contracts-bedrock/src/Safe/VetoerSet/OwnerGuard.sol index 57de4360ca8d5..27a1c8440c963 100644 --- a/packages/contracts-bedrock/src/Safe/VetoerSet/OwnerGuard.sol +++ b/packages/contracts-bedrock/src/Safe/VetoerSet/OwnerGuard.sol @@ -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