Sitelet https://github.com/ithacaxyz/account/commit/65cc5b51d2b80dd1fa106d202c5ec91b70aff144
Skip to content

Commit 65cc5b5

Browse files
authored
Merge pull request #88 from ithacaxyz/joshie/shadow
chore: change variable names to silence compiler warning
2 parents 2901b9f + cdb7e77 commit 65cc5b5

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎src/GuardedExecutor.sol‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -484,15 +484,15 @@ abstract contract GuardedExecutor is ERC7821 {
484484
public
485485
view
486486
virtual
487-
returns (SpendInfo[][] memory spend, bytes32[][] memory canExecute)
487+
returns (SpendInfo[][] memory spends, bytes32[][] memory executes)
488488
{
489489
uint256 count = keyHashes.length;
490-
spend = new SpendInfo[][](count);
491-
canExecute = new bytes32[][](count);
490+
spends = new SpendInfo[][](count);
491+
executes = new bytes32[][](count);
492492

493493
for (uint256 i = 0; i < count; i++) {
494-
spend[i] = spendInfos(keyHashes[i]);
495-
canExecute[i] = canExecutePackedInfos(keyHashes[i]);
494+
spends[i] = spendInfos(keyHashes[i]);
495+
executes[i] = canExecutePackedInfos(keyHashes[i]);
496496
}
497497
}
498498

0 commit comments

Comments
 (0)