From 2c3eea7e42f606a838e154c1aad9010a04488d9c Mon Sep 17 00:00:00 2001 From: chriseth Date: Wed, 17 May 2017 11:30:45 +0200 Subject: Fix bug in example contract. --- docs/contracts.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/contracts.rst') 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. -- cgit