aboutsummaryrefslogtreecommitdiffstats
path: root/docs/contracts.rst
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-05-17 20:26:02 +0800
committerGitHub <noreply@github.com>2017-05-17 20:26:02 +0800
commit2d8b866b59af75664e8b81b5a13a103c43123d97 (patch)
treed7bf1cb2e8a58e8a507005518b9c8695ee7d88bb /docs/contracts.rst
parentcc9a99a63fdfbcb0ea9bfb444688a6d094e37b11 (diff)
parent2c3eea7e42f606a838e154c1aad9010a04488d9c (diff)
downloaddexon-solidity-2d8b866b59af75664e8b81b5a13a103c43123d97.tar.gz
dexon-solidity-2d8b866b59af75664e8b81b5a13a103c43123d97.tar.zst
dexon-solidity-2d8b866b59af75664e8b81b5a13a103c43123d97.zip
Merge pull request #2278 from ethereum/chriseth-patch-2
Fix bug in example contract.
Diffstat (limited to 'docs/contracts.rst')
-rw-r--r--docs/contracts.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/contracts.rst b/docs/contracts.rst
index 5df52d7e..a1192d4e 100644
--- a/docs/contracts.rst
+++ b/docs/contracts.rst
@@ -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.