aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-11-23 07:24:38 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2016-11-23 07:24:43 +0100
commit5ea5e0401cb3269cc042ca93b985ab46ff3bf1a1 (patch)
tree99c01056d0c0e7e7d4e124c51bb346a527d1f9c8 /src
parent40022fe5f2b576d023fa260eb176bde6d0779330 (diff)
parent4512550fa01708a67a8386e54e7060db7997590c (diff)
Merge #9141: Remove unnecessary calls to CheckFinalTx
4512550 Remove unnecessary calls to CheckFinalTx (Jonas Schnelli)
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 9d7ea577de..8b444190a8 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)