From 0a077975c78061b0037b266ba8d646842c44f799 Mon Sep 17 00:00:00 2001 From: Evan Duffield Date: Sat, 7 Feb 2015 12:58:43 -0700 Subject: [PATCH] fixed calcscore --- src/masternode.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/masternode.cpp b/src/masternode.cpp index ef37cc268e..c2a1fb233f 100644 --- a/src/masternode.cpp +++ b/src/masternode.cpp @@ -557,16 +557,16 @@ uint256 CMasterNode::CalculateScore(int mod, int64_t nBlockHeight) if(!GetBlockHash(hash, nBlockHeight)) return 0; - LogPrintf("CMasterNode::CalculateScore 1 %d %s\n", nBlockHeight, hash.ToString().c_str()); + //LogPrintf("CMasterNode::CalculateScore 1 %d %s\n", nBlockHeight, hash.ToString().c_str()); uint256 hash2 = Hash(BEGIN(hash), END(hash)); uint256 hash3 = Hash(BEGIN(hash), END(aux)); - LogPrintf("CMasterNode::CalculateScore 2 %s %s\n", aux.ToString().c_str(), hash2.ToString().c_str()); - LogPrintf("CMasterNode::CalculateScore 3 %s %s\n", aux.ToString().c_str(), hash3.ToString().c_str()); + //LogPrintf("CMasterNode::CalculateScore 2 %s %s\n", aux.ToString().c_str(), hash2.ToString().c_str()); + //LogPrintf("CMasterNode::CalculateScore 3 %s %s\n", aux.ToString().c_str(), hash3.ToString().c_str()); uint256 r = (hash3 > hash2 ? hash3 - hash2 : hash2 - hash3); - LogPrintf("CMasterNode::CalculateScore 4 %s %s\n", aux.ToString().c_str(), r.ToString().c_str()); + //LogPrintf("CMasterNode::CalculateScore 4 %s %s\n", aux.ToString().c_str(), r.ToString().c_str()); return r; }