Skip to content

Commit

Permalink
Add requestGuardian to SimpleWallet
Browse files Browse the repository at this point in the history
  • Loading branch information
SoraSuegami committed Sep 13, 2024
1 parent e210be9 commit 581a845
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/contracts/test/helpers/SimpleWallet.sol
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,9 @@ contract SimpleWallet is OwnableUpgradeable {
);
_transferOwnership(newOwner);
}

function requestGuardian(address guardian) public {
require(msg.sender == owner(), "only owner");
RecoveryController(recoveryController).requestGuardian(guardian);
}
}

0 comments on commit 581a845

Please sign in to comment.