Fix bug in example contract.

This commit is contained in:
chriseth 2017-05-17 11:30:45 +02:00 committed by GitHub
parent d9b5ff0b43
commit 2c3eea7e42

View File

@ -605,7 +605,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.