From 965ce61bb2146c21b02d543e1d19a42eb3ba5769 Mon Sep 17 00:00:00 2001 From: yann300 Date: Tue, 9 Apr 2019 16:03:45 +0200 Subject: [PATCH] small fixed --- src/app/execution/txLogger.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/execution/txLogger.js b/src/app/execution/txLogger.js index 010fc46f7e..401c393caa 100644 --- a/src/app/execution/txLogger.js +++ b/src/app/execution/txLogger.js @@ -178,7 +178,7 @@ class TxLogger { }) this._deps.txListener.event.register('newBlock', (block) => { - if (!block.transactions.length) { + if (!block.transactions || block.transactions && !block.transactions.length) { this.logEmptyBlock({ block: block }) } })