mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-13 00:36:59 +02:00
Remove unnecessary calls to CheckFinalTx
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user