small fixed

pull/1/head
yann300 6 years ago committed by GitHub
parent e8e3e70929
commit 42989883bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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 })
}
})

Loading…
Cancel
Save