Skip to content

Commit eebbb32

Browse files
committed
core/txpool/legacypool: add missing debug log for invalid tx discard
1 parent 074148d commit eebbb32

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/txpool/legacypool/legacypool.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -980,6 +980,7 @@ func (pool *LegacyPool) Add(txs []*types.Transaction, local, sync bool) []error
980980
// in transactions before obtaining lock
981981
if err := pool.validateTxBasics(tx, local); err != nil {
982982
errs[i] = err
983+
log.Trace("Discarding invalid transaction", "hash", tx.Hash(), "err", err)
983984
invalidTxMeter.Mark(1)
984985
continue
985986
}

0 commit comments

Comments
 (0)