add missing params to udapp events

pull/5370/head
Iuri Matias 5 years ago
parent 9a9f0f15f4
commit ba684adc67
  1. 8
      src/app/tabs/runTab/model/blockchain.js

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

Loading…
Cancel
Save