forked from lthn/blockchain
tx_pool: do not remove txs with "future" receive_time as outdated
This commit is contained in:
parent
464f18f50c
commit
13ea200399
1 changed files with 1 additions and 1 deletions
|
|
@ -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 ))
|
||||
{
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue