Merge pull request #2165

8db68a57 Fix #2164 histogram output (Howard Chu)
This commit is contained in:
Riccardo Spagni 2017-07-19 11:50:14 +02:00
commit 921ebdce45
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD

View File

@ -966,7 +966,7 @@ bool t_rpc_command_executor::print_transaction_pool_stats() {
denom = n-1;
for (i=0; i<denom; i++)
times[i] = i * numer / denom;
times[i] = res.pool_stats.oldest;
times[i] = now - res.pool_stats.oldest;
} else
{
numer = now - res.pool_stats.oldest;