diff options
author | Howard Chu <hyc@symas.com> | 2017-07-10 15:47:10 +0100 |
---|---|---|
committer | Howard Chu <hyc@symas.com> | 2017-07-10 15:51:03 +0100 |
commit | 8db68a57f522c6aa76e74d7a94147b5f1eb3deb6 (patch) | |
tree | fc70adce4d1e6cde8ae523c4f775103cd6f0ce98 | |
parent | Merge pull request #2130 (diff) | |
download | monero-8db68a57f522c6aa76e74d7a94147b5f1eb3deb6.tar.xz |
Fix #2164 histogram output
When there are more than 50txs, the timestamp for the last
bin was printed incorrectly. Subtracting "now" was omitted by mistake
in 3fc22e7b78ab1dd409de4f3e8f5bff27be19735b
-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; |