From 19cf4b9e30eb3a5eff83bc304e806071d9666f03 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 13 Apr 2018 15:44:35 +0300 Subject: [PATCH] Test --- src/komodo_bitcoind.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/komodo_bitcoind.h b/src/komodo_bitcoind.h index 1909bd3f2..a6da32540 100644 --- a/src/komodo_bitcoind.h +++ b/src/komodo_bitcoind.h @@ -732,6 +732,18 @@ void komodo_index2pubkey33(uint8_t *pubkey33,CBlockIndex *pindex,int32_t height) if ( pindex->pubkey33[0] == 2 || pindex->pubkey33[0] == 3 ) { memcpy(pubkey33,pindex->pubkey33,33); + if ( (num= komodo_notaries(pubkeys,(int32_t)pindex->nHeight,(uint32_t)pindex->nTime)) > 0 ) + { + pindex->notaryid = -1; + for (i=0; inotaryid = i; + break; + } + } + } return; } if ( komodo_blockload(block,pindex) == 0 )