diff options
author | Alex Melville <alex@bitgo.com> | 2016-05-16 08:16:44 +0800 |
---|---|---|
committer | Alex Melville <alex@bitgo.com> | 2016-05-16 08:16:44 +0800 |
commit | 38940ddfa5446ff05fcea7d4d14a395fe09c5d51 (patch) | |
tree | d9d47b81783fc5cb63d74feba7cd998a2b745e61 /docs/contracts.rst | |
parent | 4b445b898e49c79f4f0ad80aa656ee33ca5b0ebc (diff) | |
download | dexon-solidity-38940ddfa5446ff05fcea7d4d14a395fe09c5d51.tar.gz dexon-solidity-38940ddfa5446ff05fcea7d4d14a395fe09c5d51.tar.zst dexon-solidity-38940ddfa5446ff05fcea7d4d14a395fe09c5d51.zip |
fix example solidity contract code by adding argument to constructor
Diffstat (limited to 'docs/contracts.rst')
-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} ); |