diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-11-23 07:24:38 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-11-23 07:24:43 +0100 |
commit | 5ea5e0401cb3269cc042ca93b985ab46ff3bf1a1 (patch) | |
tree | 99c01056d0c0e7e7d4e124c51bb346a527d1f9c8 /src | |
parent | 40022fe5f2b576d023fa260eb176bde6d0779330 (diff) | |
parent | 4512550fa01708a67a8386e54e7060db7997590c (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.cpp | 2 |
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) |