From 09e87ff0b3fc06effeef53f912084ea5d100acdd Mon Sep 17 00:00:00 2001 From: CryptoManiac Date: Wed, 16 Jul 2014 03:16:53 +0400 Subject: [PATCH] Use nBestHeight instead of index height. --- src/main.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 47e09d7..48b9d30 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1479,7 +1479,7 @@ bool CTransaction::ConnectInputs(CTxDB& txdb, MapPrevTx inputs, mapnHeight >= Checkpoints::GetTotalBlocksEstimate()); + bool fScriptChecks = !(fBlock && Checkpoints::GetTotalBlocksEstimate() >= nBestHeight); if (!IsCoinBase()) { -- 1.7.1