add missing params to udapp events

pull/1/head
Iuri Matias 5 years ago
parent c07d37b008
commit 7fdbf7c8a6
  1. 8
      src/app/tabs/runTab/model/blockchain.js

@ -19,12 +19,12 @@ class Blockchain {
this.event.trigger('contextChanged', []) this.event.trigger('contextChanged', [])
}) })
this.udapp.event.register('initiatingTransaction', () => { this.udapp.event.register('initiatingTransaction', (timestamp, tx, payLoad) => {
this.event.trigger('initiatingTransaction', []) this.event.trigger('initiatingTransaction', [timestamp, tx, payLoad])
}) })
this.udapp.event.register('transactionExecuted', () => { this.udapp.event.register('transactionExecuted', (error, from, to, data, call, txResult, timestamp) => {
this.event.trigger('transactionExecuted', []) this.event.trigger('transactionExecuted', [error, from, to, data, call, txResult, timestamp])
}) })
} }

Loading…
Cancel
Save