fix example solidity contract code by adding argument to constructor

This commit is contained in:
Alex Melville 2016-05-15 17:16:44 -07:00
parent 4b445b898e
commit 38940ddfa5

View File

@ -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}
);