allow withdraw funds sent by other contract selfdestruct

This commit is contained in:
Ricardo Guilherme Schmidt 2018-03-02 10:34:20 -03:00
parent b56119bde3
commit 181a926ddc

View File

@ -47,6 +47,13 @@ contract FriendsRecovery {
addFriends(_friendHashes); addFriends(_friendHashes);
} }
function withdraw()
external
identityOnly
{
identity.transfer(this.balance);
}
function cancelSetup() function cancelSetup()
external external
identityOnly identityOnly