From 81c07c2fa3d107d0d937006f276814204db947df Mon Sep 17 00:00:00 2001 From: alex Date: Sat, 20 Apr 2013 02:58:57 +0400 Subject: [PATCH] Hide debug info --- src/main.cpp | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 18d85f2..3b7652e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -4121,7 +4121,9 @@ CBlock* CreateNewBlock(CWallet* pwallet, bool fProofOfStake) nLastBlockTx = nBlockTx; nLastBlockSize = nBlockSize; - printf("CreateNewBlock(): total size %"PRI64u"\n", nBlockSize); + + if (fDebug && GetBoolArg("-printpriority")) + printf("CreateNewBlock(): total size %"PRI64u"\n", nBlockSize); if (pblock->IsProofOfWork()) pblock->vtx[0].vout[0].nValue = GetProofOfWorkReward(pblock->nBits); -- 1.7.1