Remove unnecessary calls to CheckFinalTx

This commit is contained in:
Jonas Schnelli 2016-11-12 10:05:09 +01:00
parent ab914a6530
commit 4512550fa0
No known key found for this signature in database
GPG Key ID: 29D4BCB6416F53EC
1 changed files with 1 additions and 1 deletions

View File

@ -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)