Merge #9141: Remove unnecessary calls to CheckFinalTx
4512550
Remove unnecessary calls to CheckFinalTx (Jonas Schnelli)
This commit is contained in:
commit
5ea5e0401c
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue