Merge pull request #2278 from ethereum/chriseth-patch-2

Fix bug in example contract.
This commit is contained in:
chriseth 2017-05-17 14:26:02 +02:00 committed by GitHub
commit 2d8b866b59

View File

@ -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.