Merge pull request #1837 from ethereum/yann300-patch-19

Small fixes on receiving new block
pull/3094/head
yann300 6 years ago committed by GitHub
commit f1a1ae5b55
  1. 2
      src/app/execution/txLogger.js

@ -178,7 +178,7 @@ class TxLogger {
}) })
this._deps.txListener.event.register('newBlock', (block) => { this._deps.txListener.event.register('newBlock', (block) => {
if (!block.transactions.length) { if (!block.transactions || block.transactions && !block.transactions.length) {
this.logEmptyBlock({ block: block }) this.logEmptyBlock({ block: block })
} }
}) })

Loading…
Cancel
Save