Commit 832bcee2 authored by chriseth's avatar chriseth Committed by GitHub

Merge pull request #416 from ethereum/commaoncontract

Fix geth deploy
parents 0a668571 8723bd22
......@@ -165,6 +165,7 @@ Renderer.prototype.contracts = function (data, source) {
code += 'var ' + inp.name + ' = /* var of type ' + inp.type + ' here */ ;\n'
})
contractName = contractName.replace(/[:./]/g, '_')
code += 'var ' + contractName + 'Contract = web3.eth.contract(' + jsonInterface.replace('\n', '') + ');' +
'\nvar ' + contractName + ' = ' + contractName + 'Contract.new('
......
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