From 169abf82c5efe290d7d94e1b056df31b77f86caa Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 24 Apr 2018 22:53:46 +0300 Subject: [PATCH] Test --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 7878970a7..6d225faa8 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -4207,7 +4207,7 @@ CBlockIndex *komodo_ensure(CBlock *pblock,uint256 hash) miSelf->second = AddToBlockIndex(*pblock); //fprintf(stderr,"Block header %s is already known, but without pindex -> ensured %p\n",hash.ToString().c_str(),miSelf->second); } - if ( hash != chainparams.GetConsensus().hashGenesisBlock ) + if ( hash != Params().GetConsensus().hashGenesisBlock ) { miSelf = mapBlockIndex.find(pblock->hashPrevBlock); if ( miSelf == mapBlockIndex.end() )