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

This commit is contained in:
Péter Szilágyi 2017-12-21 10:20:10 +02:00 committed by GitHub
parent b4cf57a581
commit 7138de7b55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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