Bugfix in recursive check in IsConfirmed()
When one single dependency of an unconfirmed transaction is already verified, this does not mean the parent is confirmed. We can skip checking its own dependencies though.
This commit is contained in:
parent
64ad448adc
commit
be2fa90b94
1 changed files with 1 additions and 1 deletions
2
main.h
2
main.h
|
@ -1028,7 +1028,7 @@ public:
|
|||
if (!ptx->IsFinal())
|
||||
return false;
|
||||
if (ptx->GetDepthInMainChain() >= 1)
|
||||
return true;
|
||||
continue;
|
||||
if (!ptx->IsFromMe())
|
||||
return false;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue