From: CryptoManiac Date: Wed, 9 Sep 2015 19:41:01 +0000 (+0300) Subject: Yet another bugfix. :) X-Git-Url: https://git.novaco.in/?p=NovacoinLibrary.git;a=commitdiff_plain;h=44f86919230cc66a0a84ab4778ceea547f99a509 Yet another bugfix. :) --- diff --git a/Novacoin/CBlockStore.cs b/Novacoin/CBlockStore.cs index 3cc061d..6485f0c 100644 --- 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