mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
fix clainTimeout() function
This commit is contained in:
parent
e89d635045
commit
6bd82428d2
@ -1036,7 +1036,7 @@ The full contract
|
|||||||
|
|
||||||
/// if the timeout is reached without the recipient closing the channel,
|
/// if the timeout is reached without the recipient closing the channel,
|
||||||
/// then the ether is realeased back to the sender.
|
/// then the ether is realeased back to the sender.
|
||||||
funtion clainTimeout() public {
|
function clainTimeout() public {
|
||||||
require(now >= expiration);
|
require(now >= expiration);
|
||||||
selfdestruct(sender);
|
selfdestruct(sender);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user