From 7fdbf7c8a65ea189f2559b09a869223b5723a5ed Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Fri, 27 Dec 2019 14:26:08 -0500 Subject: [PATCH] add missing params to udapp events --- src/app/tabs/runTab/model/blockchain.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/tabs/runTab/model/blockchain.js b/src/app/tabs/runTab/model/blockchain.js index 9bb8ca7ddd..51e2735a16 100644 --- a/src/app/tabs/runTab/model/blockchain.js +++ b/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]) }) }