Browse Source

Merge #9141: Remove unnecessary calls to CheckFinalTx

4512550 Remove unnecessary calls to CheckFinalTx (Jonas Schnelli)
0.14
Wladimir J. van der Laan 8 years ago
parent
commit
5ea5e0401c
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 2
      src/wallet/wallet.cpp

2
src/wallet/wallet.cpp

@ -2929,7 +2929,7 @@ std::map<CTxDestination, CAmount> CWallet::GetAddressBalances() @@ -2929,7 +2929,7 @@ std::map<CTxDestination, CAmount> CWallet::GetAddressBalances()
{
CWalletTx *pcoin = &walletEntry.second;
if (!CheckFinalTx(*pcoin) || !pcoin->IsTrusted())
if (!pcoin->IsTrusted())
continue;
if (pcoin->IsCoinBase() && pcoin->GetBlocksToMaturity() > 0)

Loading…
Cancel
Save