From 1bb3eff053ebcdb9c7eb12b611a7c4834d01e51a Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 16 Jan 2017 13:59:14 +0200 Subject: [PATCH] test --- src/komodo_bitcoind.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/komodo_bitcoind.h b/src/komodo_bitcoind.h index 6927de309..bda5b47b1 100644 --- a/src/komodo_bitcoind.h +++ b/src/komodo_bitcoind.h @@ -351,14 +351,14 @@ int32_t komodo_verifynotarizedscript(uint8_t *script,int32_t len,uint256 NOTARIZ int32_t i; uint256 hash; char params[256]; for (i=0; i<32; i++) ((uint8_t *)&hash)[i] = script[2+i]; - if ( hash == NOTARIZED_HASH ) - return(0); for (i=0; i<32; i++) printf("%02x",((uint8_t *)&NOTARIZED_HASH)[i]); printf(" notarized, "); for (i=0; i<32; i++) printf("%02x",((uint8_t *)&hash)[i]); printf(" opreturn\n"); + if ( hash == NOTARIZED_HASH ) + return(0); return(-1); }