Skip to content

Commit

Permalink
Merge pull request bitcoin#31 from lateminer/patch-6
Browse files Browse the repository at this point in the history
Do not exclude stake from balances in listaddressgroupings RPC
  • Loading branch information
janko33bd committed Feb 1, 2018
2 parents 9219695 + 42c5354 commit 6a95766
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/qt/locale/bitcoin_en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4311,7 +4311,7 @@
<message>
<location line="+3"/>
<source>Copyright (C) 2009-%i The Bitcoin Core Developers</source>
<translation>Copyright (C) 2014-%i The Blackcoin Lore Developers</translation>
<translation>Copyright (C) 2009-%i The Bitcoin Core Developers</translation>
</message>
<message>
<location line="+16"/>
Expand Down
2 changes: 1 addition & 1 deletion src/qt/locale/bitcoin_en_GB.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3317,7 +3317,7 @@
</message>
<message>
<source>Copyright (C) 2009-%i The Bitcoin Core Developers</source>
<translation>Copyright (C) 2014-%i The Blackcoin Lore Developers</translation>
<translation>Copyright (C) 2009-%i The Bitcoin Core Developers</translation>
</message>
<message>
<source>Error loading wallet.dat: Wallet requires newer version of Bitcoin Core</source>
Expand Down
2 changes: 1 addition & 1 deletion src/qt/locale/bitcoin_pl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3213,7 +3213,7 @@
</message>
<message>
<source>Copyright (C) 2009-%i The Bitcoin Core Developers</source>
<translation>Copyright (C) 20014-%i The Blackcoin Lore Developers</translation>
<translation>Copyright (C) 2009-%i The Bitcoin Core Developers</translation>
</message>
<message>
<source>Error loading wallet.dat: Wallet requires newer version of Bitcoin Core</source>
Expand Down
2 changes: 1 addition & 1 deletion src/wallet/wallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 6a95766

Please sign in to comment.