From be2fa90b94cfa9aeadcf6cd1a4d05bb8c2349f2f Mon Sep 17 00:00:00 2001 From: Pieter Wuille Date: Sat, 23 Apr 2011 15:33:52 +0200 Subject: [PATCH] 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 files changed, 1 insertions(+), 1 deletions(-) diff --git a/main.h b/main.h index 355ef53..8ff1051 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; -- 1.7.1