Merge pull request #22 from chriseth/deployGas

Increased deploy gas.
pull/1/head
chriseth 9 years ago
commit ec71864518
  1. 2
      index.html

@ -270,7 +270,7 @@ THE SOFTWARE.
code += "\n {"+ code += "\n {"+
"\n from: web3.eth.accounts[0], "+ "\n from: web3.eth.accounts[0], "+
"\n data: '"+bytecode+"', "+ "\n data: '"+bytecode+"', "+
"\n gas: 1000000"+ "\n gas: 3000000"+
"\n }, function(e, contract){"+ "\n }, function(e, contract){"+
"\n if (typeof contract.address != 'undefined') {"+ "\n if (typeof contract.address != 'undefined') {"+
"\n console.log(e, contract);"+ "\n console.log(e, contract);"+

Loading…
Cancel
Save