aboutsummaryrefslogtreecommitdiff
path: root/src/validation.cpp
diff options
context:
space:
mode:
authorDaniel Kraft <d@domob.eu>2020-03-13 11:40:03 +0100
committerDaniel Kraft <d@domob.eu>2020-03-14 09:24:21 +0100
commit7df0cf719fecf1b8d09801295db8bd2137bfe033 (patch)
treeb2421947068ac94b53f92ae37eabb2e39d6e4f8a /src/validation.cpp
parent3f9e6a3c1ce8710364a815ac1796b45ccf1325b5 (diff)
downloadbitcoin-7df0cf719fecf1b8d09801295db8bd2137bfe033.tar.xz
Replace remaining literals BTC with CURRENCY_UNIT
This replaces one remaining instance of the literal "BTC" string with the CURRENCY_UNIT constant, as is done in most of the codebase already. The other remaining instance (which is just part of a log message and thus not really user-visible) is just removed. After this change, no instance of literal "BTC" remains anywhere in the non-Qt and non-test codebase.
Diffstat (limited to 'src/validation.cpp')
-rw-r--r--src/validation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/validation.cpp b/src/validation.cpp
index c0327c39bc..a5b68e4ebd 100644
--- a/src/validation.cpp
+++ b/src/validation.cpp
@@ -974,7 +974,7 @@ bool MemPoolAccept::Finalize(ATMPArgs& args, Workspace& ws)
// Remove conflicting transactions from the mempool
for (CTxMemPool::txiter it : allConflicting)
{
- LogPrint(BCLog::MEMPOOL, "replacing tx %s with %s for %s BTC additional fees, %d delta bytes\n",
+ LogPrint(BCLog::MEMPOOL, "replacing tx %s with %s for %s additional fees, %d delta bytes\n",
it->GetTx().GetHash().ToString(),
hash.ToString(),
FormatMoney(nModifiedFees - nConflictingFees),