mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 09:41:36 +00:00
Update solidity.html.markdown
added qualifier payable to the function Info, hence without it's not compileable
This commit is contained in:
parent
2f0b904f6f
commit
e7a2c6d888
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user