diff --git a/core/txpool/tracking/tx_tracker.go b/core/txpool/tracking/tx_tracker.go index a4c2602a45..cfe75a658e 100644 --- a/core/txpool/tracking/tx_tracker.go +++ b/core/txpool/tracking/tx_tracker.go @@ -90,7 +90,9 @@ func (tracker *TxTracker) TrackAll(txs []*types.Transaction) { tracker.byAddr[addr] = legacypool.NewSortedMap() } tracker.byAddr[addr].Put(tx) - _ = tracker.journal.insert(tx) + if tracker.journal != nil { + _ = tracker.journal.insert(tx) + } } }