We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f4f699 commit 0748bd7Copy full SHA for 0748bd7
1 file changed
apps/remix-ide/src/app/tabs/compileTab/contractParser.js
@@ -68,7 +68,7 @@ var gethDeploy = function (contractName, jsonInterface, bytecode) {
68
})
69
70
contractName = contractName.replace(/[:./]/g, '_')
71
- code += 'var ' + contractName + 'Contract = web3.eth.contract(' + JSON.stringify(jsonInterface).replace('\n', '') + ');' +
+ code += 'var ' + contractName + 'Contract = web3.eth.Contract(' + JSON.stringify(jsonInterface).replace('\n', '') + ');' +
72
'\nvar ' + contractName + ' = ' + contractName + 'Contract.new('
73
74
funABI.inputs.forEach(function (inp) {
0 commit comments