Merge pull request #68 from chriseth/logErr

Web3 deploy: Log error earlier.
pull/1/head
chriseth 9 years ago
commit aa85ea7ace
  1. 2
      index.html

@ -734,8 +734,8 @@
"\n data: '"+bytecode+"', "+
"\n gas: 3000000"+
"\n }, function(e, contract){"+
"\n console.log(e, contract);"+
"\n if (typeof contract.address != 'undefined') {"+
"\n console.log(e, contract);"+
"\n console.log('Contract mined! address: ' + contract.address + ' transactionHash: ' + contract.transactionHash);" +
"\n }" +
"\n })";

Loading…
Cancel
Save