mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Reduce usage of the word "kill"
This commit is contained in:
committed by
Mathias Baumann
parent
f7624e254c
commit
6d068b6331
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -41,6 +41,7 @@
|
||||
".delegatecall("
|
||||
".gas("
|
||||
".kill("
|
||||
".shutdown("
|
||||
".length"
|
||||
".pop();"
|
||||
".push("
|
||||
|
||||
Reference in New Issue
Block a user