diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-07-19 11:50:14 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-07-19 11:50:14 +0200 |
commit | 921ebdce45ccadd3b5a707b8e71ce4a714d06702 (patch) | |
tree | a9f58392f5a38755cc732cce2278240b1941f9e5 /src | |
parent | Merge pull request #2154 (diff) | |
parent | Fix #2164 histogram output (diff) | |
download | monero-921ebdce45ccadd3b5a707b8e71ce4a714d06702.tar.xz |
Merge pull request #2165
8db68a57 Fix #2164 histogram output (Howard Chu)
Diffstat (limited to 'src')
-rw-r--r-- | src/daemon/rpc_command_executor.cpp | 2 |
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; |