1
0
mirror of https://github.com/twisterarmy/twister-core.git synced 2025-01-17 02:00:57 +00:00

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

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;