aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJonas Schnelli <dev@jonasschnelli.ch>2016-11-12 10:05:09 +0100
committerJonas Schnelli <dev@jonasschnelli.ch>2016-11-12 13:50:39 +0100
commit4512550fa01708a67a8386e54e7060db7997590c (patch)
tree56a7d4b4ca25b9ab45cf974d6f0fc3efe6bb6b68 /src
parentab914a65301bd48f2b6c7a64bf57295ae74f2902 (diff)
Remove unnecessary calls to CheckFinalTx
Diffstat (limited to 'src')
-rw-r--r--src/wallet/wallet.cpp2
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)