mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-17 21:50:43 +02:00
Remove unnecessary calls to CheckFinalTx
This commit is contained in:
parent
ab914a6530
commit
4512550fa0
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user