mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
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:
commit
0a37072e4c
@ -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}
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user