summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAldaschwede <32069769+Aldaschwede@users.noreply.github.com>2019-08-06 17:29:19 +0200
committerGitHub <noreply@github.com>2019-08-06 17:29:19 +0200
commite7a2c6d888c5c5da7db436eed12bac5c41474d73 (patch)
treeb0f00803f83c62b454edc33af5d1fa29bfe0f79e
parent2f0b904f6ffe68d15fedf7e50a3a64e1a47a9145 (diff)
Update solidity.html.markdown
added qualifier payable to the function Info, hence without it's not compileable
-rw-r--r--solidity.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/solidity.html.markdown b/solidity.html.markdown
index d215180d..cc719ec7 100644
--- a/solidity.html.markdown
+++ b/solidity.html.markdown
@@ -483,7 +483,7 @@ for(uint x = 0; x < refundAddressList.length; x++) {
// A. Calling external contract
contract InfoFeed {
- function info() returns (uint ret) { return 42; }
+ function info() payable returns (uint ret) { return 42; }
}
contract Consumer {