Commit 6aad5d0b authored by Alex Beregszaszi's avatar Alex Beregszaszi

Support stricter input parsing of Parity in the web3 deploy script

parent 593e47f1
...@@ -70,8 +70,8 @@ module.exports = { ...@@ -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') {" +
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment