mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
core/txpool/legacypool: add missing debug log for invalid tx discard
This commit is contained in:
parent
844ce90925
commit
51f28d2888
1 changed files with 1 additions and 0 deletions
|
|
@ -977,6 +977,7 @@ func (pool *LegacyPool) Add(txs []*types.Transaction, local, sync bool) []error
|
|||
// in transactions before obtaining lock
|
||||
if err := pool.validateTxBasics(tx, local); err != nil {
|
||||
errs[i] = err
|
||||
log.Trace("Discarding invalid transaction", "hash", tx.Hash(), "err", err)
|
||||
invalidTxMeter.Mark(1)
|
||||
continue
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue