From 44f86919230cc66a0a84ab4778ceea547f99a509 Mon Sep 17 00:00:00 2001 From: CryptoManiac Date: Wed, 9 Sep 2015 22:41:01 +0300 Subject: [PATCH] Yet another bugfix. :) --- Novacoin/CBlockStore.cs | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) 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 -- 1.7.1