Skip to content

Commit c819a83

Browse files
committed
Don't use scientific notation in log messages
1 parent 9fa8eda commit c819a83

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/kernel/mempool_persist.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ bool DumpMempool(const CTxMemPool& pool, const fs::path& dump_path, FopenFn mock
205205
}
206206
auto last = SteadyClock::now();
207207

208-
LogPrintf("Dumped mempool: %gs to copy, %gs to dump\n",
208+
LogPrintf("Dumped mempool: %.3fs to copy, %.3fs to dump\n",
209209
Ticks<SecondsDouble>(mid - start),
210210
Ticks<SecondsDouble>(last - mid));
211211
} catch (const std::exception& e) {

src/policy/fees.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1055,7 +1055,7 @@ void CBlockPolicyEstimator::FlushUnconfirmed()
10551055
_removeTx(mi->first, false); // this calls erase() on mapMemPoolTxs
10561056
}
10571057
const auto endclear{SteadyClock::now()};
1058-
LogPrint(BCLog::ESTIMATEFEE, "Recorded %u unconfirmed txs from mempool in %gs\n", num_entries, Ticks<SecondsDouble>(endclear - startclear));
1058+
LogPrint(BCLog::ESTIMATEFEE, "Recorded %u unconfirmed txs from mempool in %.3fs\n", num_entries, Ticks<SecondsDouble>(endclear - startclear));
10591059
}
10601060

10611061
std::chrono::hours CBlockPolicyEstimator::GetFeeEstimatorFileAge()

0 commit comments

Comments
 (0)