Merge pull request #4511 from MichalZalecki/patch-1

Fix typo in the function name
This commit is contained in:
Alex Beregszaszi 2018-07-16 09:38:16 +01:00 committed by GitHub
commit 98656423be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1035,7 +1035,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 released back to the sender. /// then the Ether is released back to the sender.
function clainTimeout() public { function claimTimeout() public {
require(now >= expiration); require(now >= expiration);
selfdestruct(sender); selfdestruct(sender);
} }