From 61c2776c8fd9b864e8bbae273f9cf73de525e2f7 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 26 Mar 2018 04:31:09 +0300 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 2fa18708b..6b88758e8 100644 --- a/src/komodo_bitcoind.h +++ b/src/komodo_bitcoind.h @@ -700,7 +700,7 @@ uint32_t komodo_heightstamp(int32_t height) void komodo_index2pubkey33(uint8_t *pubkey33,CBlockIndex *pindex,int32_t height) { - CBlock block; + CBlock block; int32_t numnotaries; //komodo_init(height); memset(pubkey33,0,33); if ( pindex != 0 ) @@ -778,7 +778,7 @@ int32_t komodo_eligiblenotary(uint8_t pubkeys[66][33],int32_t *mids,int32_t *non } memcpy(pubkeys[i],pindex->pubkey33,33); if ( (mids[i]= pindex->notaryid) >= 0 ) - (*nonzkeysp)++; + (*nonzpkeysp)++; if ( mids[0] >= 0 && i > 0 && mids[i] == mids[0] ) duplicate++; }