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:
Pieter Wuille 2011-04-23 15:33:52 +02:00
parent 64ad448adc
commit be2fa90b94
1 changed files with 1 additions and 1 deletions

2
main.h
View File

@ -1028,7 +1028,7 @@ public:
if (!ptx->IsFinal())
return false;
if (ptx->GetDepthInMainChain() >= 1)
return true;
continue;
if (!ptx->IsFromMe())
return false;