Commit e2074acb authored by Iuri Matias's avatar Iuri Matias

add missing params to udapp events

parent c4d47ebd
......@@ -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])
})
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment