Merge pull request #572 from Melvillian/fix-example-contract-abi

fix example solidity contract code by adding argument to constructor
This commit is contained in:
chriseth 2016-05-18 00:39:47 +02:00
commit 0a37072e4c

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