From 6bd82428d2e766893fda8c89eb512e37a1d2ba1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20V=C3=ADtor?= Date: Sun, 3 Jun 2018 17:36:28 -0300 Subject: fix clainTimeout() function --- docs/solidity-by-example.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/solidity-by-example.rst b/docs/solidity-by-example.rst index e87dea97..cad652dc 100644 --- a/docs/solidity-by-example.rst +++ b/docs/solidity-by-example.rst @@ -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); } -- cgit v1.2.3