From 4e8752e1adac25fd8da6c1b1f1bcb483a5e87240 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 17 Apr 2018 13:06:31 +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 bf0974941..6438cdf0e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -3771,7 +3771,7 @@ int32_t komodo_fast_checkPOW(CBlock *pblock,int32_t height) fprintf(stderr,"komodo_fast_checkPOW ht.%d CheckEquihashSolution failed\n",height); return(-1); } - bnTarget.SetCompact(nBits, &fNegative, &fOverflow); + bnTarget.SetCompact(pblock->nBits,&fNegative,&fOverflow); if ( UintToArith256(hash) > bnTarget ) { failed = 1;