mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #2278 from ethereum/chriseth-patch-2
Fix bug in example contract.
This commit is contained in:
commit
2d8b866b59
@ -604,7 +604,7 @@ All non-indexed arguments will be stored in the data part of the log.
|
||||
uint _value
|
||||
);
|
||||
|
||||
function deposit(bytes32 _id) {
|
||||
function deposit(bytes32 _id) payable {
|
||||
// Any call to this function (even deeply nested) can
|
||||
// be detected from the JavaScript API by filtering
|
||||
// for `Deposit` to be called.
|
||||
|
Loading…
Reference in New Issue
Block a user