diff --git a/core/tx_pool.go b/core/tx_pool.go index 956d66d03..3f897e5bd 100644 --- a/core/tx_pool.go +++ b/core/tx_pool.go @@ -967,6 +967,9 @@ func (pool *TxPool) add(tx types.PoolTransaction, local bool) (bool, error) { pool.priced.Put(tx) pool.journalTx(from, tx) + // Set or refresh beat for account timeout eviction + pool.beats[from] = time.Now() + logger.Info(). Str("hash", tx.Hash().Hex()). Interface("from", from). @@ -993,6 +996,9 @@ func (pool *TxPool) add(tx types.PoolTransaction, local bool) (bool, error) { } pool.journalTx(from, tx) + // Set or refresh beat for account timeout eviction + pool.beats[from] = time.Now() + logger.Info(). Str("hash", hash.Hex()). Interface("from", from).