Skip to content

Commit

Permalink
core: silence txpool reorg warning (annoying on import) (#15725)
Browse files Browse the repository at this point in the history
  • Loading branch information
karalabe authored Dec 21, 2017
1 parent b4cf57a commit 7138de7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/tx_pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7138de7

Please sign in to comment.