aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Atack <jon@atack.com>2021-08-26 17:37:37 +0200
committerJon Atack <jon@atack.com>2021-09-20 22:40:15 +0200
commitc17f554fcc63e9e1f6ba64750df475d8a8d11f2e (patch)
tree732afbbee4bcf49e3b2f051d7bcde0d3c1803fb9
parent7f7bd3111cdc673fec867af9a849afb85b90c3fa (diff)
downloadbitcoin-c17f554fcc63e9e1f6ba64750df475d8a8d11f2e.tar.xz
Fix BlockAssembler::AddToBlock, CTxMemPool::PrioritiseTransaction logging
-rw-r--r--src/miner.cpp2
-rw-r--r--src/txmempool.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/miner.cpp b/src/miner.cpp
index 168ade5507..38c7b4b8cc 100644
--- a/src/miner.cpp
+++ b/src/miner.cpp
@@ -237,7 +237,7 @@ void BlockAssembler::AddToBlock(CTxMemPool::txiter iter)
bool fPrintPriority = gArgs.GetBoolArg("-printpriority", DEFAULT_PRINTPRIORITY);
if (fPrintPriority) {
- LogPrintf("fee %s txid %s\n",
+ LogPrintf("fee rate %s txid %s\n",
CFeeRate(iter->GetModifiedFee(), iter->GetTxSize()).ToString(),
iter->GetTx().GetHash().ToString());
}
diff --git a/src/txmempool.cpp b/src/txmempool.cpp
index 043564294f..3cf62f3c0e 100644
--- a/src/txmempool.cpp
+++ b/src/txmempool.cpp
@@ -924,7 +924,7 @@ void CTxMemPool::PrioritiseTransaction(const uint256& hash, const CAmount& nFeeD
++nTransactionsUpdated;
}
}
- LogPrintf("PrioritiseTransaction: %s feerate += %s\n", hash.ToString(), FormatMoney(nFeeDelta));
+ LogPrintf("PrioritiseTransaction: %s fee += %s\n", hash.ToString(), FormatMoney(nFeeDelta));
}
void CTxMemPool::ApplyDelta(const uint256& hash, CAmount &nFeeDelta) const