diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2011-04-23 15:33:52 +0200 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2011-04-23 15:33:52 +0200 |
commit | be2fa90b94cfa9aeadcf6cd1a4d05bb8c2349f2f (patch) | |
tree | adee8219750370723290f92ee7596f31c1e72b0e /main.h | |
parent | 64ad448adc67f3c32fe0dfe074c82a8377f67ee7 (diff) |
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.
Diffstat (limited to 'main.h')
-rw-r--r-- | main.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1028,7 +1028,7 @@ public: if (!ptx->IsFinal()) return false; if (ptx->GetDepthInMainChain() >= 1) - return true; + continue; if (!ptx->IsFromMe()) return false; |