core: silence txpool reorg warning (annoying on import) (#15725)

pull/15726/head
Péter Szilágyi 7 years ago committed by GitHub
parent b4cf57a581
commit 7138de7b55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      core/tx_pool.go

@ -360,7 +360,7 @@ func (pool *TxPool) reset(oldHead, newHead *types.Header) {
newNum := newHead.Number.Uint64()
if depth := uint64(math.Abs(float64(oldNum) - float64(newNum))); depth > 64 {
log.Warn("Skipping deep transaction reorg", "depth", depth)
log.Debug("Skipping deep transaction reorg", "depth", depth)
} else {
// Reorg seems shallow enough to pull in all transactions into memory
var discarded, included types.Transactions

Loading…
Cancel
Save