aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-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);
}