From be2fa90b94cfa9aeadcf6cd1a4d05bb8c2349f2f Mon Sep 17 00:00:00 2001 From: Pieter Wuille Date: Sat, 23 Apr 2011 15:33:52 +0200 Subject: 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. --- main.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.h b/main.h index 355ef5313f..8ff105124e 100644 --- a/main.h +++ b/main.h @@ -1028,7 +1028,7 @@ public: if (!ptx->IsFinal()) return false; if (ptx->GetDepthInMainChain() >= 1) - return true; + continue; if (!ptx->IsFromMe()) return false; -- cgit v1.2.3