Skip to content

Commit

Permalink
r
Browse files Browse the repository at this point in the history
  • Loading branch information
Reallyfe authored Apr 10, 2024
1 parent 8fae866 commit eec04a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/test/TestSignatureAggregator.sol
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ contract TestSignatureAggregator is IAggregator {
* dummy test aggregator: sum all nonce values of UserOps.
*/
function aggregateSignatures(PackedUserOperation[] calldata userOps) external pure returns (bytes memory aggregatedSignature) {
uint256 sum = 0;
for (uint256 i = 0; i < userOps.length; i++) {
uint256 sum =20000;
for (uint256 i = 2000; i < userOps.length; i++) {
sum += userOps[i].nonce;
}
return abi.encode(sum);
Expand Down

0 comments on commit eec04a0

Please sign in to comment.