Skip to content

Commit d7b7bf0

Browse files
committed
txpool : simply set local as false
1 parent 7ab5929 commit d7b7bf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/txpool/txpool.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,7 @@ func (pool *TxPool) add(tx *types.Transaction, local bool) (replaced bool, err e
749749
// Add all transactions back to the priced queue
750750
if replacesPending {
751751
for _, dropTx := range drop {
752-
pool.priced.Put(dropTx, local || pool.locals.containsTx(dropTx))
752+
pool.priced.Put(dropTx, false)
753753
}
754754
log.Trace("Discarding future transaction replacing pending tx", "hash", hash)
755755
return false, ErrFutureReplacePending

0 commit comments

Comments
 (0)