From 38940ddfa5446ff05fcea7d4d14a395fe09c5d51 Mon Sep 17 00:00:00 2001 From: Alex Melville Date: Sun, 15 May 2016 17:16:44 -0700 Subject: fix example solidity contract code by adding argument to constructor --- docs/contracts.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') 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} ); -- cgit v1.2.3