Code cleanup
This commit is contained in:
@@ -820,7 +820,7 @@ bool CWallet::CreateCoinStake(const CKeyStore& keystore, unsigned int nBits, int
|
||||
|
||||
// Calculate reward
|
||||
{
|
||||
int64_t nReward = GetProofOfStakeSubsidy() + nFees;
|
||||
int64_t nReward = nFees + GetProofOfStakeSubsidy();
|
||||
if (nReward < 0)
|
||||
return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user