From e47956b279c416c43c7a16daf5aa970cd58f0cd4 Mon Sep 17 00:00:00 2001 From: presstab Date: Tue, 29 May 2018 19:39:41 -0600 Subject: [PATCH] Remove spammy log prints. --- src/miner.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/miner.cpp b/src/miner.cpp index cd44e93e5..5ee773e54 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -118,7 +118,7 @@ CBlock* CreateNewBlock(CWallet* pwallet, bool fProofOfStake) // Get all the vote objects versions std::map mapActiveProposals = proposalManager.GetActive(nBestHeight); if (pwalletMain->mapVoteObjects.size() > 0) { - for(auto it: mapProposals) { + for (auto it: mapProposals) { CTransaction tx; uint256 hashBlock; if (!GetTransaction(it.first, tx, hashBlock)) { @@ -150,13 +150,10 @@ CBlock* CreateNewBlock(CWallet* pwallet, bool fProofOfStake) votes.emplace_back(voteObject); //printf("*** added vote for %s\n", proposal.GetName().c_str()); } - } else - printf("*** mapVoteObjects empty!\n"); + } // Update the block version to have all votes pblock->nVersion |= CVoteObject::GetCombinedVotes(votes); - } else { - printf("map proposals empty\n"); } // Create coinbase tx