aboutsummaryrefslogtreecommitdiffstats
path: root/docs/control-structures.rst
diff options
context:
space:
mode:
authorJim McDonald <Jim@mcdee.net>2017-12-13 15:55:46 +0800
committerJim McDonald <Jim@mcdee.net>2017-12-13 15:55:46 +0800
commit93cf4dee666e01d6907c75c4018a701e5069daad (patch)
tree8c3732c7a5961c00bee6adb3f916b99744c65bf7 /docs/control-structures.rst
parent6e521d59b0a30fa0673aaf84559d5b74dbb1eed7 (diff)
downloaddexon-solidity-93cf4dee666e01d6907c75c4018a701e5069daad.tar.gz
dexon-solidity-93cf4dee666e01d6907c75c4018a701e5069daad.tar.zst
dexon-solidity-93cf4dee666e01d6907c75c4018a701e5069daad.zip
Fixes for failing tests
Diffstat (limited to 'docs/control-structures.rst')
-rw-r--r--docs/control-structures.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/control-structures.rst b/docs/control-structures.rst
index 079b14c7..0c5825bc 100644
--- a/docs/control-structures.rst
+++ b/docs/control-structures.rst
@@ -135,7 +135,7 @@ the gas can be specified with special options ``.value()`` and ``.gas()``, respe
contract Consumer {
InfoFeed feed;
function setFeed(address addr) public { feed = InfoFeed(addr); }
- function public callFeed() { feed.info.value(10).gas(800)(); }
+ function callFeed() public { feed.info.value(10).gas(800)(); }
}
The modifier ``payable`` has to be used for ``info``, because otherwise, the `.value()`