forked from forks/go-ethereum
core/txpool: demote error log to warn (#31332)
This error log in `legacypool.go` isn't necessary, since even though the behavior is unexpected, it is handled correctly. A discussion on issue #22301 concluded that this should instead be a warning log.
This commit is contained in:
parent
4cdd7c8631
commit
49ef375033
1 changed files with 1 additions and 1 deletions
|
|
@ -1604,7 +1604,7 @@ func (pool *LegacyPool) demoteUnexecutables() {
|
|||
gapped := list.Cap(0)
|
||||
for _, tx := range gapped {
|
||||
hash := tx.Hash()
|
||||
log.Error("Demoting invalidated transaction", "hash", hash)
|
||||
log.Warn("Demoting invalidated transaction", "hash", hash)
|
||||
|
||||
// Internal shuffle shouldn't touch the lookup set.
|
||||
pool.enqueueTx(hash, tx, false)
|
||||
|
|
|
|||
Loading…
Reference in a new issue