From 8f91fd2b129a534612d931980861b67f783ab096 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 17 Apr 2018 13:19:36 +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 6438cdf0e..e77ecc3ae 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -3772,7 +3772,7 @@ int32_t komodo_fast_checkPOW(CBlock *pblock,int32_t height) return(-1); } bnTarget.SetCompact(pblock->nBits,&fNegative,&fOverflow); - if ( UintToArith256(hash) > bnTarget ) + if ( UintToArith256(pblock.GetHash()) > bnTarget ) { failed = 1; if ( ASSETCHAINS_SYMBOL[0] == 0 )