Unverified Commit 40521079 authored by yann300's avatar yann300 Committed by GitHub

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

Small fixes on receiving new block
parents fde08dee 42989883
......@@ -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 })
}
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment