mirror of
https://github.com/monero-project/monero.git
synced 2024-12-23 12:09:54 +00:00
Merge pull request #2330
ea15e72d
tx_pool: fix crash in stats (Howard Chu)
This commit is contained in:
commit
944bbdb51e
1 changed files with 1 additions and 1 deletions
|
@ -575,7 +575,7 @@ namespace cryptonote
|
|||
stats.num_10m++;
|
||||
if (meta.last_failed_height)
|
||||
stats.num_failing++;
|
||||
uint64_t age = now - meta.receive_time;
|
||||
uint64_t age = now - meta.receive_time + (now == meta.receive_time);
|
||||
agebytes[age].txs++;
|
||||
agebytes[age].bytes += meta.blob_size;
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue