[txpool] added a very small fix

pull/3656/head
Jacky Wang 4 years ago
parent b787f0dcd5
commit f4045528e0
No known key found for this signature in database
GPG Key ID: 1085CE5F4FF5842C
  1. 2
      core/tx_list.go

@ -328,7 +328,7 @@ func (l *txList) FilterValid(txPool *TxPool, address common.Address, bn uint64)
var invalids types.PoolTransactions
removed, errs := l.filterPrice(txPool, address)
if bn > l.lastStkCheck+stakingTxCheckThreshold {
if bn >= l.lastStkCheck+stakingTxCheckThreshold {
l.lastStkCheck = bn
stkRemoved, errRemoved := l.filterStaking(txPool)

Loading…
Cancel
Save