Fix typo in the function name

This commit is contained in:
Michał Załęcki 2018-07-14 18:32:47 +02:00 committed by GitHub
parent 31e56f9f99
commit 7c1672f36e
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);
} }