aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorAlex Melville <alex@bitgo.com>2016-05-16 08:16:44 +0800
committerAlex Melville <alex@bitgo.com>2016-05-16 08:16:44 +0800
commit38940ddfa5446ff05fcea7d4d14a395fe09c5d51 (patch)
treed9d47b81783fc5cb63d74feba7cd998a2b745e61 /docs
parent4b445b898e49c79f4f0ad80aa656ee33ca5b0ebc (diff)
downloaddexon-solidity-38940ddfa5446ff05fcea7d4d14a395fe09c5d51.tar
dexon-solidity-38940ddfa5446ff05fcea7d4d14a395fe09c5d51.tar.gz
dexon-solidity-38940ddfa5446ff05fcea7d4d14a395fe09c5d51.tar.bz2
dexon-solidity-38940ddfa5446ff05fcea7d4d14a395fe09c5d51.tar.lz
dexon-solidity-38940ddfa5446ff05fcea7d4d14a395fe09c5d51.tar.xz
dexon-solidity-38940ddfa5446ff05fcea7d4d14a395fe09c5d51.tar.zst
dexon-solidity-38940ddfa5446ff05fcea7d4d14a395fe09c5d51.zip
fix example solidity contract code by adding argument to constructor
Diffstat (limited to 'docs')
-rw-r--r--docs/contracts.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/contracts.rst b/docs/contracts.rst
index 68905fa4..42c716d5 100644
--- a/docs/contracts.rst
+++ b/docs/contracts.rst
@@ -44,7 +44,7 @@ API, this is done as follows::
var MyContract = web3.eth.contract(abiArray);
// deploy new contract
var contractInstance = MyContract.new(
- 10,
+ 10, 11,
{from: myAccount, gas: 1000000}
);