git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(from parent 1:
64ad448
)
Bugfix in recursive check in IsConfirmed()
author
Pieter Wuille
<pieter.wuille@gmail.com>
Sat, 23 Apr 2011 13:33:52 +0000 (15:33 +0200)
committer
Pieter Wuille
<pieter.wuille@gmail.com>
Sat, 23 Apr 2011 13:33:52 +0000 (15:33 +0200)
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
patch
|
blob
|
history
diff --git
a/main.h
b/main.h
index
355ef53
..
8ff1051
100644
(file)
--- 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;