mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-19 11:20:45 +00:00
fix error
This commit is contained in:
parent
9ede6b9622
commit
e565225d8e
1 changed files with 1 additions and 1 deletions
|
|
@ -1673,7 +1673,7 @@ func (p *BlobPool) addLocked(tx *types.Transaction, checkGapped bool) (err error
|
||||||
p.drop()
|
p.drop()
|
||||||
}
|
}
|
||||||
// If the transaction being added is dropped from above, return underpriced error
|
// If the transaction being added is dropped from above, return underpriced error
|
||||||
if p.lookup.exists(tx.Hash()) {
|
if !p.lookup.exists(tx.Hash()) {
|
||||||
log.Trace("Dropping underpriced transaction", "hash", tx.Hash(), "err", err)
|
log.Trace("Dropping underpriced transaction", "hash", tx.Hash(), "err", err)
|
||||||
addUnderpricedMeter.Mark(1)
|
addUnderpricedMeter.Mark(1)
|
||||||
return txpool.ErrUnderpriced
|
return txpool.ErrUnderpriced
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue