Do not exclude stake from balances in listaddressgroupings RPC

This commit is contained in:
lateminer
2018-02-01 21:52:33 +03:00
parent 9219695bdd
commit b6c9553359

View File

@@ -3235,7 +3235,7 @@ std::map<CTxDestination, CAmount> 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();