fix emiting newTransaction event

pull/1/head
yann300 5 years ago
parent c4419decba
commit 0308559e9b
  1. 4
      src/blockchain/pluginUDapp.js

@ -9,8 +9,8 @@ class PluginUdapp {
} }
setupEvents () { setupEvents () {
this.blockchain.event.register('newTransaction', (tx, receipt) => { this.blockchain.events.on('newTransaction', (tx, receipt) => {
this.events.trigger('newTransaction', [tx, receipt]) this.events.emit('newTransaction', tx, receipt)
}) })
} }

Loading…
Cancel
Save