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
@@ -164,7 +164,7 @@ The full contract
|
||||
}
|
||||
|
||||
/// destroy the contract and reclaim the leftover funds.
|
||||
function kill() public {
|
||||
function shutdown() public {
|
||||
require(msg.sender == owner);
|
||||
selfdestruct(msg.sender);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user