From 09d4cdd9b9f8faca7981888ad463ea263f813bb7 Mon Sep 17 00:00:00 2001 From: "John C. Vernaleo" Date: Tue, 12 Jun 2018 11:02:26 -0400 Subject: [PATCH] eth: change log.Error() to log.Warn() to match comment --- core/tx_pool.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/tx_pool.go b/core/tx_pool.go index b55c5e4d53..34eb369a4a 100644 --- a/core/tx_pool.go +++ b/core/tx_pool.go @@ -1111,7 +1111,7 @@ func (pool *TxPool) demoteUnexecutables() { if list.Len() > 0 && list.txs.Get(nonce) == nil { for _, tx := range list.Cap(0) { hash := tx.Hash() - log.Error("Demoting invalidated transaction", "hash", hash) + log.Warn("Demoting invalidated transaction", "hash", hash) pool.enqueueTx(hash, tx) } }