Skip to content

Commit 8d4f401

Browse files
committed
Fix timestamp in fee estimate debug message
1 parent 962cd3f commit 8d4f401

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/policy/fees.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -944,7 +944,7 @@ void CBlockPolicyEstimator::FlushUnconfirmed(CTxMemPool& pool) {
944944
removeTx(txid, false);
945945
}
946946
int64_t endclear = GetTimeMicros();
947-
LogPrint(BCLog::ESTIMATEFEE, "Recorded %u unconfirmed txs from mempool in %ld micros\n",txids.size(), endclear - startclear);
947+
LogPrint(BCLog::ESTIMATEFEE, "Recorded %u unconfirmed txs from mempool in %gs\n",txids.size(), (endclear - startclear)*0.000001);
948948
}
949949

950950
FeeFilterRounder::FeeFilterRounder(const CFeeRate& minIncrementalFee)

0 commit comments

Comments
 (0)