From 57165493a72c5418150cd43feebb79708705063c Mon Sep 17 00:00:00 2001 From: "davidzagi93@gmail.com" Date: Tue, 17 Aug 2021 14:53:31 +0100 Subject: [PATCH] feat: emit new transaction from RunTab --- apps/remix-ide/src/app/panels/terminal.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/apps/remix-ide/src/app/panels/terminal.js b/apps/remix-ide/src/app/panels/terminal.js index 638b97f5ed..e886a4ae26 100644 --- a/apps/remix-ide/src/app/panels/terminal.js +++ b/apps/remix-ide/src/app/panels/terminal.js @@ -142,7 +142,12 @@ class Terminal extends Plugin { eventsDecoder = {this.eventsDecoder} logHtml = {this.logHtmlResponse} />, - this.element + this.element, + () => { + this.blockchain.events.on('newTransaction', (tx, receipt) => { + this.emit('newTransaction', tx, receipt) + }) + } ) }