From c1905cddf26facbf976e334c7fce6628d8c84809 Mon Sep 17 00:00:00 2001 From: presstab Date: Fri, 17 Nov 2017 14:01:17 -0700 Subject: [PATCH] Fix runtime errors from tiny format specifiers. --- src/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 9e5e6de01286a..decfc1589fbb8 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -3176,14 +3176,14 @@ bool RecalculatePIVSupply(int nHeightStart) // Add fraudulent funds to the supply and remove any recovered funds. if (pindex->nHeight == Params().Zerocoin_Block_RecalculateAccumulators()) { PopulateInvalidOutPointMap(); - LogPrintf("%s : Original money supply=%s\n", FormatMoney(pindex->nMoneySupply)); + LogPrintf("%s : Original money supply=%s\n", __func__, FormatMoney(pindex->nMoneySupply)); pindex->nMoneySupply += nFilteredThroughBittrex; - LogPrintf("%s : Adding bittrex filtered funds to supply + %s : supply=%s\n", FormatMoney(nFilteredThroughBittrex), FormatMoney(pindex->nMoneySupply)); + LogPrintf("%s : Adding bittrex filtered funds to supply + %s : supply=%s\n", __func__, FormatMoney(nFilteredThroughBittrex), FormatMoney(pindex->nMoneySupply)); CAmount nLocked = GetInvalidUTXOValue(); pindex->nMoneySupply -= nLocked; - LogPrintf("%s : Removing locked from supply - %s : supply=%s\n", FormatMoney(nLocked), FormatMoney(pindex->nMoneySupply)); + LogPrintf("%s : Removing locked from supply - %s : supply=%s\n", __func__, FormatMoney(nLocked), FormatMoney(pindex->nMoneySupply)); } assert(pblocktree->WriteBlockIndex(CDiskBlockIndex(pindex)));