changeset 542:d73846540d9b draft

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.
author Pieter Wuille <pieter.wuille@gmail.com>
date Sat, 23 Apr 2011 15:33:52 +0200 (2011-04-23)
parents 53c2c6ebeaaa
children 598172ac080f
files main.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/main.h
+++ b/main.h
@@ -1028,7 +1028,7 @@
             if (!ptx->IsFinal())
                 return false;
             if (ptx->GetDepthInMainChain() >= 1)
-                return true;
+                continue;
             if (!ptx->IsFromMe())
                 return false;