From b6c9553359ce597d37c0d1b242b55348e5009849 Mon Sep 17 00:00:00 2001 From: lateminer Date: Thu, 1 Feb 2018 21:52:33 +0300 Subject: [PATCH] Do not exclude stake from balances in listaddressgroupings RPC --- 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 c7a8a79c7..e1b546dc5 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -3235,7 +3235,7 @@ std::map CWallet::GetAddressBalances() if (!CheckFinalTx(*pcoin) || !pcoin->IsTrusted()) continue; - if ((pcoin->IsCoinBase() || pcoin->IsCoinStake()) && pcoin->GetBlocksToMaturity() > 0) + if (pcoin->IsCoinBase() && pcoin->GetBlocksToMaturity() > 0) continue; int nDepth = pcoin->GetDepthInMainChain();