Skip to content

Commit

Permalink
fix: update errors in deposit4626()
Browse files Browse the repository at this point in the history
  • Loading branch information
TamaraRingas committed Oct 25, 2024
1 parent e276a54 commit 92f87b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/router-plus/SuperformRouterPlus.sol
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ contract SuperformRouterPlus is ISuperformRouterPlus, BaseSuperformRouterPlus {
}

if (vaults_.length == 0) {
revert Error.ZERO_LENGTH();
revert Error.ARRAY_LENGTH_MISMATCH();
}

for (uint256 i; i < vaults_.length; ++i) {
Expand Down

0 comments on commit 92f87b1

Please sign in to comment.