aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-05-17 17:30:45 +0800
committerGitHub <noreply@github.com>2017-05-17 17:30:45 +0800
commit2c3eea7e42f606a838e154c1aad9010a04488d9c (patch)
tree2a8694de551fa5d6aec20a057e0e01029aec03b7
parentd9b5ff0b43b4dcaccb43dfc89efef6d610476557 (diff)
downloaddexon-solidity-2c3eea7e42f606a838e154c1aad9010a04488d9c.tar.gz
dexon-solidity-2c3eea7e42f606a838e154c1aad9010a04488d9c.tar.zst
dexon-solidity-2c3eea7e42f606a838e154c1aad9010a04488d9c.zip
Fix bug in example contract.
-rw-r--r--docs/contracts.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/contracts.rst b/docs/contracts.rst
index 8d7af2c1..ed68ab39 100644
--- a/docs/contracts.rst
+++ b/docs/contracts.rst
@@ -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.