From 38940ddfa5446ff05fcea7d4d14a395fe09c5d51 Mon Sep 17 00:00:00 2001 From: Alex Melville Date: Sun, 15 May 2016 17:16:44 -0700 Subject: [PATCH] fix example solidity contract code by adding argument to constructor --- docs/contracts.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/contracts.rst b/docs/contracts.rst index 68905fa4c..42c716d57 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} );