fix(txpool): Demote error log to warn

This commit is contained in:
Austin Larson 2025-03-06 16:48:41 -05:00 committed by GitHub
parent d219e9b005
commit 5f75e73cb7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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