Support stricter input parsing of Parity in the web3 deploy script

pull/1/head
Alex Beregszaszi 8 years ago
parent 593e47f10a
commit 6aad5d0bb2
  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