git://git.novaco.in
/
NovacoinLibrary.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Yet another bugfix. :)
[NovacoinLibrary.git]
/
Novacoin
/
CBlockStore.cs
diff --git
a/Novacoin/CBlockStore.cs
b/Novacoin/CBlockStore.cs
index
3cc061d
..
6485f0c
100644
(file)
--- a/
Novacoin/CBlockStore.cs
+++ b/
Novacoin/CBlockStore.cs
@@
-274,6
+274,11
@@
namespace Novacoin
{
var outPoint = txin.prevout;
+ if (inputs.ContainsKey(outPoint))
+ {
+ continue; // We have already seen this input.
+ }
+
if (!queued.ContainsKey(outPoint))
{
return false; // No such transaction