From 2646080e3dc1a1da5be2c066329eb80e1ca0ef7b Mon Sep 17 00:00:00 2001 From: Luke Dashjr Date: Mon, 26 Nov 2012 16:30:54 +0000 Subject: [PATCH] Allow -printpriority without -debug --- src/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 4c2115688a..bf42593d0f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -3731,6 +3731,7 @@ CBlock* CreateNewBlock(CReserveKey& reservekey) // Priority order to process transactions list vOrphan; // list memory doesn't move map > mapDependers; + bool fPrintPriority = GetBoolArg("-printpriority"); // This vector will be sorted into a priority queue: vector vecPriority; @@ -3877,7 +3878,7 @@ CBlock* CreateNewBlock(CReserveKey& reservekey) nBlockSigOps += nTxSigOps; nFees += nTxFees; - if (fDebug && GetBoolArg("-printpriority")) + if (fPrintPriority) { printf("priority %.1f feeperkb %.1f txid %s\n", dPriority, dFeePerKb, tx.GetHash().ToString().c_str());