diff options
author | Jonas Schnelli <dev@jonasschnelli.ch> | 2016-11-12 10:05:09 +0100 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2016-11-12 13:50:39 +0100 |
commit | 4512550fa01708a67a8386e54e7060db7997590c (patch) | |
tree | 56a7d4b4ca25b9ab45cf974d6f0fc3efe6bb6b68 /src/wallet | |
parent | ab914a65301bd48f2b6c7a64bf57295ae74f2902 (diff) |
Remove unnecessary calls to CheckFinalTx
Diffstat (limited to 'src/wallet')
-rw-r--r-- | src/wallet/wallet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index c2bac6e330..59fee46b43 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -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) |