Skip to content

Commit

Permalink
fix: small code fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kupermind committed Dec 18, 2023
1 parent dab062c commit a261d03
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion contracts/multisigs/GuardCM.sol
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ contract GuardCM {
}

/// @dev Verifies authorized combinations of target and selector.
/// @notice The bottom-most internal function is still not "view" since some reverts are not explicitly handled
/// @param target Target address.
/// @param data Payload bytes.
/// @param chainId Chain Id.
Expand Down Expand Up @@ -450,7 +451,7 @@ contract GuardCM {

// Check array length
if (targets.length != selectors.length || targets.length != statuses.length || targets.length != chainIds.length) {
revert WrongArrayLength(targets.length, selectors.length, statuses.length, statuses.length);
revert WrongArrayLength(targets.length, selectors.length, statuses.length, chainIds.length);
}

// Traverse all the targets and selectors to build their paired values
Expand Down

0 comments on commit a261d03

Please sign in to comment.