diff options
author | chriseth <c@ethdev.com> | 2016-05-18 06:39:47 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2016-05-18 06:39:47 +0800 |
commit | 0a37072e4c0b6413aa7aa37863230f3a0d26b2a9 (patch) | |
tree | 9d6f59c77b9a54dbd4db0e7ff03f2bfb38be2ff2 /docs | |
parent | 775b757d0e2681901036fa34a67a3b5ceec24816 (diff) | |
parent | 38940ddfa5446ff05fcea7d4d14a395fe09c5d51 (diff) | |
download | dexon-solidity-0a37072e4c0b6413aa7aa37863230f3a0d26b2a9.tar dexon-solidity-0a37072e4c0b6413aa7aa37863230f3a0d26b2a9.tar.gz dexon-solidity-0a37072e4c0b6413aa7aa37863230f3a0d26b2a9.tar.bz2 dexon-solidity-0a37072e4c0b6413aa7aa37863230f3a0d26b2a9.tar.lz dexon-solidity-0a37072e4c0b6413aa7aa37863230f3a0d26b2a9.tar.xz dexon-solidity-0a37072e4c0b6413aa7aa37863230f3a0d26b2a9.tar.zst dexon-solidity-0a37072e4c0b6413aa7aa37863230f3a0d26b2a9.zip |
Merge pull request #572 from Melvillian/fix-example-contract-abi
fix example solidity contract code by adding argument to constructor
Diffstat (limited to 'docs')
-rw-r--r-- | docs/contracts.rst | 2 |
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} ); |