aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-07-19 11:50:14 +0200
committerRiccardo Spagni <ric@spagni.net>2017-07-19 11:50:14 +0200
commit921ebdce45ccadd3b5a707b8e71ce4a714d06702 (patch)
treea9f58392f5a38755cc732cce2278240b1941f9e5
parentMerge pull request #2154 (diff)
parentFix #2164 histogram output (diff)
downloadmonero-921ebdce45ccadd3b5a707b8e71ce4a714d06702.tar.xz
Merge pull request #2165
8db68a57 Fix #2164 histogram output (Howard Chu)
-rw-r--r--src/daemon/rpc_command_executor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/rpc_command_executor.cpp b/src/daemon/rpc_command_executor.cpp
index 1c9cd714d..74d6d287a 100644
--- a/src/daemon/rpc_command_executor.cpp
+++ b/src/daemon/rpc_command_executor.cpp
@@ -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;