From a8e94add843dede36ac8bf206252969917bcc9ab Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 2 Feb 2017 21:23:02 +0200 Subject: [PATCH] test --- src/komodo_bitcoind.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/komodo_bitcoind.h b/src/komodo_bitcoind.h index 6b309ce1b..9c555100b 100644 --- a/src/komodo_bitcoind.h +++ b/src/komodo_bitcoind.h @@ -616,7 +616,7 @@ int32_t komodo_electednotary(uint8_t *pubkey33,int32_t height); int8_t komodo_minerid(int32_t height,uint8_t *pubkey33) { int32_t num,i; CBlockIndex *pindex; uint8_t _pubkey33[33],pubkeys[64][33]; - if ( (pindex= chainActive[height]) != 0 ) + if ( pubkey33 == 0 && (pindex= chainActive[height]) != 0 ) { if ( pubkey33 == 0 ) {