From: alex Date: Sat, 15 Jun 2013 16:48:21 +0000 (+0400) Subject: Fix trust score calculation segfault on testNet X-Git-Tag: v0.4.3-pre^0 X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=commitdiff_plain;h=4d2ccca61bf9328cabec4e0f303912dfb2210f6e Fix trust score calculation segfault on testNet --- diff --git a/src/main.cpp b/src/main.cpp index 01d99eb..2bedf29 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2262,7 +2262,7 @@ CBigNum CBlockIndex::GetBlockTrust() const } // New protocol - if (pprev == NULL || pprev->nHeight < 10) + if (pprev == NULL || pprev->nHeight < 12) return 1; const CBlockIndex* currentIndex = pprev;