Skip to content

Commit

Permalink
fix: ++i
Browse files Browse the repository at this point in the history
  • Loading branch information
nxqbao committed Jun 20, 2024
1 parent e35d1f3 commit 8c76b8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mainchain/MainchainGatewayV3.sol
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ contract MainchainGatewayV3 is
*/
function requestDepositForBatch(Transfer.Request[] calldata _requests) external payable virtual whenNotPaused {
uint length = _requests.length;
for (uint256 i; i < length; i++) {
for (uint256 i; i < length; ++i) {
_requestDepositFor(_requests[i], msg.sender);
}
}
Expand Down

0 comments on commit 8c76b8f

Please sign in to comment.