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
@@ -180,12 +180,12 @@ Input Description
|
||||
// `--allow-paths <path>`.
|
||||
]
|
||||
},
|
||||
"mortal":
|
||||
"retrievable":
|
||||
{
|
||||
// Optional: keccak256 hash of the source file
|
||||
"keccak256": "0x234...",
|
||||
// Required (unless "urls" is used): literal contents of the source file
|
||||
"content": "contract mortal is owned { function kill() { if (msg.sender == owner) selfdestruct(owner); } }"
|
||||
"content": "contract retrievable is owned { function shutdown() { if (msg.sender == owner) selfdestruct(owner); } }"
|
||||
}
|
||||
},
|
||||
// Optional
|
||||
|
||||
Reference in New Issue
Block a user