Skip to content

Commit

Permalink
[Trivial] Remove spammy log in in StakeV1
Browse files Browse the repository at this point in the history
Github-Pull: #1233
Rebased-From: f9857f7
  • Loading branch information
random-zebra authored and Fuzzbawls committed Jan 11, 2020
1 parent 16441e9 commit 053d365
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/kernel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -396,9 +396,10 @@ bool StakeV1(const CBlockIndex* pindexPrev, CStakeInput* stakeInput, const uint3
minTime = prevBlockTime;
unsigned int nTryTime = maxTime;

// check required maturity for stake
if (maxTime <= minTime)
return error("%s : stake age violation, nTimeBlockFrom = %d, prevBlockTime = %d -- maxTime = %d ", __func__, nTimeBlockFrom, prevBlockTime, maxTime);
if (maxTime <= minTime) {
// too early to stake
return false;
}

while (nTryTime > minTime) {
// store a time stamp of when we last hashed on this block
Expand Down

0 comments on commit 053d365

Please sign in to comment.