fix errors in code_generator

This commit is contained in:
Jonathan Rainville 2019-02-08 10:33:07 -05:00 committed by Iuri Matias
parent 8ebba404e2
commit f6beeff9c7
1 changed files with 0 additions and 2 deletions

View File

@ -53,8 +53,6 @@ class CodeGenerator {
}); });
}); });
this.events.setCommandHandler('code-generator:web3js', this.buildWeb3JS.bind(this));
this.events.setCommandHandler('code-generator:contract', (contractName, cb) => { this.events.setCommandHandler('code-generator:contract', (contractName, cb) => {
this.events.request('contracts:contract', contractName, (contract) => { this.events.request('contracts:contract', contractName, (contract) => {
this.buildContractJS(contractName, this.generateContractJSON(contract, contract), cb); this.buildContractJS(contractName, this.generateContractJSON(contract, contract), cb);