From: CryptoManiac Date: Tue, 15 Jul 2014 23:16:53 +0000 (+0400) Subject: Use nBestHeight instead of index height. X-Git-Tag: v0.4.4.6-nvc-update5^2~18 X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=commitdiff_plain;h=09e87ff0b3fc06effeef53f912084ea5d100acdd Use nBestHeight instead of index height. --- 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()) {