Skip to content

Commit

Permalink
chore: restore working commit
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahschwartz committed Sep 18, 2024
1 parent 8ca45ca commit 11b974c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions code/multisig/contracts/TwoUserMultisig.sol
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ contract TwoUserMultisig is IAccount, IERC1271 {
uint32 gas = Utils.safeCastToU32(gasleft());

// Note, that the deployer contract can only be called
// with a "enableEraVMExtensions" flag.
// with a "systemCall" flag.
SystemContractsCaller.systemCallWithPropagatedRevert(gas, to, value, data);
} else {
bool success;
Expand Down Expand Up @@ -215,8 +215,8 @@ contract TwoUserMultisig is IAccount, IERC1271 {
// since it is where the length of the `_fullSignature` is stored
assembly {
let r := mload(add(_fullSignature, 0x20))
let s := mload(add(_fullSignature, 0x40))
let v := and(mload(add(_fullSignature, 0x41)), 0xff)
let s := mload(add(_fullSignature, 0x40))
let v := and(mload(add(_fullSignature, 0x41)), 0xff)

mstore(add(signature1, 0x20), r)
mstore(add(signature1, 0x40), s)
Expand Down

0 comments on commit 11b974c

Please sign in to comment.