Browse Source

Remove unnecessary calls to CheckFinalTx

0.14
Jonas Schnelli 8 years ago
parent
commit
4512550fa0
No known key found for this signature in database
GPG Key ID: 29D4BCB6416F53EC
  1. 2
      src/wallet/wallet.cpp

2
src/wallet/wallet.cpp

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

Loading…
Cancel
Save