Skip to content

Commit 0748bd7

Browse files
authored
fix: web3.eth.contract -> web3.eth.Contract
1 parent 0f4f699 commit 0748bd7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/remix-ide/src/app/tabs/compileTab/contractParser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ var gethDeploy = function (contractName, jsonInterface, bytecode) {
6868
})
6969

7070
contractName = contractName.replace(/[:./]/g, '_')
71-
code += 'var ' + contractName + 'Contract = web3.eth.contract(' + JSON.stringify(jsonInterface).replace('\n', '') + ');' +
71+
code += 'var ' + contractName + 'Contract = web3.eth.Contract(' + JSON.stringify(jsonInterface).replace('\n', '') + ');' +
7272
'\nvar ' + contractName + ' = ' + contractName + 'Contract.new('
7373

7474
funABI.inputs.forEach(function (inp) {

0 commit comments

Comments
 (0)