Skip to content

Commit

Permalink
fix: elaborate comment
Browse files Browse the repository at this point in the history
  • Loading branch information
failingtwice committed Jan 28, 2025
1 parent a0de885 commit 295ba6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/0.8.25/vaults/StakingVault.sol
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ contract StakingVault is IStakingVault, OwnableUpgradeable {

uint256 totalAmount = 0;
uint256 numberOfDeposits = _deposits.length;
// XOR is a commutative operation, so the order of deposits does not matter
// XOR is a commutative operation, so the aggregate root will be the same regardless of the order of deposits
bytes32 depositDataBatchXorRoot;

for (uint256 i = 0; i < numberOfDeposits; i++) {
Expand Down

0 comments on commit 295ba6e

Please sign in to comment.