From 8d4f401269fe6fb06df7137871b7e2e6368e080e Mon Sep 17 00:00:00 2001 From: Alex Morcos Date: Thu, 18 May 2017 12:38:43 -0400 Subject: [PATCH] Fix timestamp in fee estimate debug message --- src/policy/fees.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/policy/fees.cpp b/src/policy/fees.cpp index bad3de4b4..fe24a18af 100644 --- a/src/policy/fees.cpp +++ b/src/policy/fees.cpp @@ -944,7 +944,7 @@ void CBlockPolicyEstimator::FlushUnconfirmed(CTxMemPool& pool) { removeTx(txid, false); } int64_t endclear = GetTimeMicros(); - LogPrint(BCLog::ESTIMATEFEE, "Recorded %u unconfirmed txs from mempool in %ld micros\n",txids.size(), endclear - startclear); + LogPrint(BCLog::ESTIMATEFEE, "Recorded %u unconfirmed txs from mempool in %gs\n",txids.size(), (endclear - startclear)*0.000001); } FeeFilterRounder::FeeFilterRounder(const CFeeRate& minIncrementalFee)