From 764797ad06b74a634bcf6534354f65e1ff6c2b66 Mon Sep 17 00:00:00 2001 From: janko33bd Date: Thu, 18 Jan 2018 21:09:55 +0100 Subject: [PATCH] fixed immature/staking balance --- src/wallet/wallet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index 206a001b5..0f75bb065 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -1933,7 +1933,7 @@ CAmount CWalletTx::GetCredit(const isminefilter& filter) const CAmount CWalletTx::GetImmatureCredit(bool fUseCache) const { - if ((IsCoinBase() || IsCoinStake()) && GetBlocksToMaturity() > 0 && IsInMainChain()) + if (IsCoinBase() && GetBlocksToMaturity() > 0 && IsInMainChain()) { if (fUseCache && fImmatureCreditCached) return nImmatureCreditCached;