Remove uneeded handler

This commit is contained in:
Anthony Laibe 2018-10-10 14:18:01 +01:00 committed by Pascal Precht
parent 2d287c43f3
commit 6e24b0eb85
No known key found for this signature in database
GPG Key ID: 0EE28D8D6FD85D7D
3 changed files with 1 additions and 8 deletions

View File

@ -34,7 +34,7 @@ class ContractLoggerContainer extends Component {
function mapStateToProps(state, props) { function mapStateToProps(state, props) {
return { return {
contractLogs: getContractLogsByContract(state, props.contract.className), contractLogs: getContractLogsByContract(state, props.contract.className),
contractEvents: getContractEventsByContract(state, props.match.params.contractName) contractEvents: getContractEventsByContract(state, props.contract.className)
}; };
} }

View File

@ -21,11 +21,7 @@ const entitiesDefaultState = {
contractDeploys: [], contractDeploys: [],
contractCompiles: [], contractCompiles: [],
contractLogs: [], contractLogs: [],
<<<<<<< HEAD
=======
contractEvents: [], contractEvents: [],
commands: [],
>>>>>>> Add Contract Events to UI
messages: [], messages: [],
messageChannels: [], messageChannels: [],
versions: [], versions: [],

View File

@ -643,9 +643,6 @@ class BlockchainConnector {
this.contractsEvents.push(dataWithName); this.contractsEvents.push(dataWithName);
this.events.emit('blockchain:contracts:event', dataWithName); this.events.emit('blockchain:contracts:event', dataWithName);
}); });
eventEmitter.on('error', () => {
console.log('error')
})
}); });
callback(); callback();
}); });