X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fwallet.h;h=96fe239feac1189d63266cf247f2ab06dd79b482;hb=c91b5231b5d85d235fbc455e2158d9e3a63e6c20;hp=3d07f5738f887b7595cc41fde6a568773d95f998;hpb=1b94874d4e604f51e3e3ca2bd4e9ab68280dc651;p=novacoin.git diff --git a/src/wallet.h b/src/wallet.h index 3d07f57..96fe239 100644 --- a/src/wallet.h +++ b/src/wallet.h @@ -648,7 +648,7 @@ public: int64 GetImmatureCredit(bool fUseCache=true) const { - if ((IsCoinBase() || IsCoinStake()) && GetBlocksToMaturity() > 0 && IsInMainChain()) + if (IsCoinBase() && GetBlocksToMaturity() > 0 && IsInMainChain()) { if (fUseCache && fImmatureCreditCached) return nImmatureCreditCached; @@ -662,7 +662,7 @@ public: int64 GetImmatureWatchOnlyCredit(bool fUseCache=true) const { - if ((IsCoinBase() || IsCoinStake()) && GetBlocksToMaturity() > 0 && IsInMainChain()) + if (IsCoinBase() && GetBlocksToMaturity() > 0 && IsInMainChain()) { if (fUseCache && fImmatureWatchCreditCached) return nImmatureWatchCreditCached;