aboutsummaryrefslogtreecommitdiffstats
path: root/docs/solidity-by-example.rst
diff options
context:
space:
mode:
authorJoão Vítor <joaovmferreira@gmail.com>2018-06-04 04:36:28 +0800
committerGitHub <noreply@github.com>2018-06-04 04:36:28 +0800
commit6bd82428d2e766893fda8c89eb512e37a1d2ba1f (patch)
tree720631b248895b4f1aa48db9a63b05af6978d517 /docs/solidity-by-example.rst
parente89d6350459343bd213f5525b9993194ce7e8edb (diff)
downloaddexon-solidity-6bd82428d2e766893fda8c89eb512e37a1d2ba1f.tar
dexon-solidity-6bd82428d2e766893fda8c89eb512e37a1d2ba1f.tar.gz
dexon-solidity-6bd82428d2e766893fda8c89eb512e37a1d2ba1f.tar.bz2
dexon-solidity-6bd82428d2e766893fda8c89eb512e37a1d2ba1f.tar.lz
dexon-solidity-6bd82428d2e766893fda8c89eb512e37a1d2ba1f.tar.xz
dexon-solidity-6bd82428d2e766893fda8c89eb512e37a1d2ba1f.tar.zst
dexon-solidity-6bd82428d2e766893fda8c89eb512e37a1d2ba1f.zip
fix clainTimeout() function
Diffstat (limited to 'docs/solidity-by-example.rst')
-rw-r--r--docs/solidity-by-example.rst2
1 files changed, 1 insertions, 1 deletions
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);
}