From 368b31f287c6a786dbea8e7f54f3483cf705735e Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 17 Oct 2016 14:54:42 -0300 Subject: [PATCH] test --- src/komodo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/komodo.h b/src/komodo.h index d182344eb..3529035b9 100644 --- a/src/komodo.h +++ b/src/komodo.h @@ -59,7 +59,7 @@ int32_t komodo_blockindexcheck(CBlockIndex *pindex,uint32_t *nBitsp) int32_t komodo_blockcheck(CBlock *block,uint32_t *nBitsp) { CBlockIndex *bindex = new CBlockIndex((CBlockHeader*)&block); - if ( bindex->GetHeight() <= NOTARIZED_HEIGHT ) + if ( bindex->nHeight <= NOTARIZED_HEIGHT ) return(-1); // 1 -> valid notary block, change nBits to KOMODO_MINDIFF_NBITS // -1 -> invalid, ie, prior to notarized block