1
0
Fork 0
forked from lthn/blockchain

tx_pool: do not remove txs with "future" receive_time as outdated

This commit is contained in:
sowle 2019-04-30 16:58:01 +03:00
parent 464f18f50c
commit 13ea200399

View file

@ -512,7 +512,7 @@ namespace currency
return true;
// maximum age check - remove too old
uint64_t tx_age = get_core_time() - tx_entry.receive_time;
int64_t tx_age = get_core_time() - tx_entry.receive_time;
if ((tx_age > CURRENCY_MEMPOOL_TX_LIVETIME ))
{