Merge pull request #323 from ethereum/geth-deploy-0x-prefix

Support stricter input parsing of Parity in the web3 deploy script
pull/1/head
chriseth 8 years ago committed by GitHub
commit 910396b0f3
  1. 4
      src/app/ui-helper.js

@ -70,8 +70,8 @@ module.exports = {
code += '\n {' + code += '\n {' +
'\n from: web3.eth.accounts[0], ' + '\n from: web3.eth.accounts[0], ' +
"\n data: '" + bytecode + "', " + "\n data: '0x" + bytecode + "', " +
'\n gas: 4700000' + "\n gas: '4700000'" +
'\n }, function (e, contract){' + '\n }, function (e, contract){' +
'\n console.log(e, contract);' + '\n console.log(e, contract);' +
"\n if (typeof contract.address !== 'undefined') {" + "\n if (typeof contract.address !== 'undefined') {" +

Loading…
Cancel
Save