Skip to content

Commit

Permalink
Update NestedMultisigBase.sol
Browse files Browse the repository at this point in the history
  • Loading branch information
futreall authored Feb 23, 2025
1 parent 43f839c commit 81fe4fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script/universal/NestedMultisigBase.sol
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,13 @@ abstract contract NestedMultisigBase is MultisigBase {
)
)
);
bytes memory approveHashExec = _execTransationCalldata(
bytes memory approveHashExec = _execTransactionCalldata(
_signerSafe, approveHashData, Signatures.genPrevalidatedSignature(MULTICALL3_ADDRESS)
);
calls[0] = IMulticall3.Call3({target: _signerSafe, allowFailure: false, callData: approveHashExec});

// simulate the final state changes tx, so that signer can verify the final results
bytes memory finalExec = _execTransationCalldata(_safe, _data, Signatures.genPrevalidatedSignature(_signerSafe));
bytes memory finalExec = _execTransactionCalldata(_safe, _data, Signatures.genPrevalidatedSignature(_signerSafe));
calls[1] = IMulticall3.Call3({target: _safe, allowFailure: false, callData: finalExec});

return calls;
Expand Down

0 comments on commit 81fe4fe

Please sign in to comment.