Skip to content

Commit

Permalink
Merge pull request #112 from wqking/upstream-rel-4.6.3
Browse files Browse the repository at this point in the history
Added braces in if condition
  • Loading branch information
tohsnoom committed Mar 25, 2021
2 parents 28a8587 + 437d1a6 commit e21c4c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/wallet.cpp
Expand Up @@ -3104,9 +3104,10 @@ bool CWallet::CreateCoinStake(
}
LogPrint("staking", "%s: attempted staking %d times\n", __func__, nAttempts);

if (!fKernelFound)
if (!fKernelFound) {
LogPrint("staking","%s: no stake found\n", __func__);
return false;
}

// Sign
int nIn = 0;
Expand Down

0 comments on commit e21c4c7

Please sign in to comment.