Commit 910396b0 authored by chriseth's avatar chriseth Committed by GitHub

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

Support stricter input parsing of Parity in the web3 deploy script
parents 593e47f1 6aad5d0b
...@@ -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