Code cleanup

This commit is contained in:
lateminer
2018-10-12 00:34:40 +03:00
parent d452787a2c
commit e9886e3f1b
3 changed files with 13 additions and 25 deletions

View File

@@ -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;