mirror of
https://github.com/status-im/contracts.git
synced 2025-02-24 12:38:49 +00:00
allow withdraw funds sent by other contract selfdestruct
This commit is contained in:
parent
b56119bde3
commit
181a926ddc
@ -47,6 +47,13 @@ contract FriendsRecovery {
|
||||
addFriends(_friendHashes);
|
||||
}
|
||||
|
||||
function withdraw()
|
||||
external
|
||||
identityOnly
|
||||
{
|
||||
identity.transfer(this.balance);
|
||||
}
|
||||
|
||||
function cancelSetup()
|
||||
external
|
||||
identityOnly
|
||||
|
Loading…
x
Reference in New Issue
Block a user