From 4d2ccca61bf9328cabec4e0f303912dfb2210f6e Mon Sep 17 00:00:00 2001 From: alex Date: Sat, 15 Jun 2013 20:48:21 +0400 Subject: [PATCH] Fix trust score calculation segfault on testNet --- src/main.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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; -- 1.7.1