fix clainTimeout() function

This commit is contained in:
João Vítor 2018-06-03 17:36:28 -03:00 committed by GitHub
parent e89d635045
commit 6bd82428d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1036,7 +1036,7 @@ The full contract
/// if the timeout is reached without the recipient closing the channel,
/// then the ether is realeased back to the sender.
funtion clainTimeout() public {
function clainTimeout() public {
require(now >= expiration);
selfdestruct(sender);
}