From 657320696d3ba11da9e790da7705f4044e047ec8 Mon Sep 17 00:00:00 2001 From: yann300 Date: Mon, 2 Jul 2018 16:25:59 +0200 Subject: [PATCH] remove pending tx count --- src/app/panels/terminal.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/app/panels/terminal.js b/src/app/panels/terminal.js index 07e40b2429..2c375674c0 100644 --- a/src/app/panels/terminal.js +++ b/src/app/panels/terminal.js @@ -27,7 +27,6 @@ class Terminal { constructor (opts = { auto: true }) { var self = this self.event = new EventManager() - self._api = opts.api self.data = { lineLength: opts.lineLength || 80, session: [], @@ -135,9 +134,6 @@ class Terminal { ` - setInterval(() => { - updatePendingTxs(self._api.udapp, self._view.pendingTxCount) - }, 5000) function listenOnNetwork (ev) { self.event.trigger('listenOnNetWork', [ev.currentTarget.checked]) @@ -578,10 +574,5 @@ function domTerminalFeatures (self, scopedCommands) { } function blockify (el) { return yo`
${el}
` } -// PENDING TX -function updatePendingTxs (udapp, el) { - var count = Object.keys(udapp.pendingTransactions()).length - el.innerText = count -} module.exports = Terminal