mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
11 lines
267 B
Solidity
11 lines
267 B
Solidity
contract C {
|
|
mapping(address => address payable) public m;
|
|
function f(address payable arg) public returns (address payable r) {
|
|
address payable a = m[arg];
|
|
r = arg;
|
|
address c = address(this);
|
|
m[c] = payable(0);
|
|
}
|
|
}
|
|
// ----
|