aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Załęcki <zalecki.post@gmail.com>2018-07-15 00:32:47 +0800
committerGitHub <noreply@github.com>2018-07-15 00:32:47 +0800
commit7c1672f36ec3ae74884b7ba5be0651abdce23589 (patch)
tree4a42e70db733cfec80131b87ec0215a5dcccf45e
parent31e56f9f9976cee44f000226318dca566f0f0b79 (diff)
downloaddexon-solidity-7c1672f36ec3ae74884b7ba5be0651abdce23589.tar.gz
dexon-solidity-7c1672f36ec3ae74884b7ba5be0651abdce23589.tar.zst
dexon-solidity-7c1672f36ec3ae74884b7ba5be0651abdce23589.zip
Fix typo in the function name
-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 b1985426..cd281aad 100644
--- a/docs/solidity-by-example.rst
+++ b/docs/solidity-by-example.rst
@@ -1035,7 +1035,7 @@ The full contract
/// if the timeout is reached without the recipient closing the channel,
/// then the Ether is released back to the sender.
- function clainTimeout() public {
+ function claimTimeout() public {
require(now >= expiration);
selfdestruct(sender);
}