mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-04-26 15:13:56 +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
|
// A. Calling external contract
|
||||||
contract InfoFeed {
|
contract InfoFeed {
|
||||||
function info() returns (uint ret) { return 42; }
|
function info() payable returns (uint ret) { return 42; }
|
||||||
}
|
}
|
||||||
|
|
||||||
contract Consumer {
|
contract Consumer {
|
||||||
|
Loading…
Reference in New Issue
Block a user