Skip to content

Commit 452a2b1

Browse files
committed
remove spam log output in stakeTargetHit()
1 parent cfa7852 commit 452a2b1

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/kernel.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -283,9 +283,6 @@ bool stakeTargetHit(const uint256& hashProofOfStake, const int64_t& nValueIn, co
283283
{
284284
//get the stake weight - weight is equal to coin amount
285285
uint256 bnCoinDayWeight = uint256(nValueIn) / 100;
286-
uint256 bnTarget = (bnCoinDayWeight * bnTargetPerCoinDay);
287-
if (hashProofOfStake >> (256-14) == 0)
288-
LogPrintf("%s:\n valuein: %s\n weight= %s\n hash= %s\n target= %s\n", __func__, FormatMoney(nValueIn), bnCoinDayWeight.GetHex(), hashProofOfStake.GetHex(), bnTarget.GetHex());
289286

290287
// Now check if proof-of-stake hash meets target protocol
291288
return hashProofOfStake < (bnCoinDayWeight * bnTargetPerCoinDay);

0 commit comments

Comments
 (0)