Skip to content

Commit

Permalink
Support stricter input parsing of Parity in the web3 deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
axic committed Nov 14, 2016
1 parent 593e47f commit 6aad5d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/ui-helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ module.exports = {

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

0 comments on commit 6aad5d0

Please sign in to comment.