Merge pull request #7869 from fulldecent/fix-kill

Reduce usage of word kill
This commit is contained in:
Mathias L. Baumann
2020-01-07 16:01:04 +01:00
committed by GitHub
8 changed files with 38 additions and 37 deletions
+1 -1
View File
@@ -378,7 +378,7 @@ contract Wallet is multisig, multiowned, daylimit {
multiowned.changeOwner(_from, _to);
}
// destroys the contract sending everything to `_to`.
function kill(address payable _to) onlymanyowners(keccak256(msg.data)) external {
function shutdown(address payable _to) onlymanyowners(keccak256(msg.data)) external {
selfdestruct(_to);
}
+1
View File
@@ -41,6 +41,7 @@
".delegatecall("
".gas("
".kill("
".shutdown("
".length"
".pop();"
".push("