Reduce usage of the word "kill"

This commit is contained in:
William Entriken
2020-01-07 11:18:10 +01:00
committed by Mathias Baumann
parent f7624e254c
commit 6d068b6331
8 changed files with 38 additions and 37 deletions
+1 -1
View File
@@ -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);
}