diff --git a/src/komodo_bitcoind.h b/src/komodo_bitcoind.h index 3b6e2c799..81ff62ccb 100644 --- a/src/komodo_bitcoind.h +++ b/src/komodo_bitcoind.h @@ -605,7 +605,7 @@ void komodo_connectpindex(CBlockIndex *pindex) komodo_connectblock(pindex,block); } -void *komodo_chainactive(int32_t height) +CBlock *komodo_chainactive(int32_t height) { return(chainActive[height]); } diff --git a/src/pow.cpp b/src/pow.cpp index f374e7208..60a5f9b47 100644 --- a/src/pow.cpp +++ b/src/pow.cpp @@ -107,7 +107,7 @@ bool CheckEquihashSolution(const CBlockHeader *pblock, const CChainParams& param int32_t komodo_chosennotary(int32_t *notaryidp,int32_t height,uint8_t *pubkey33); int32_t komodo_is_special(int32_t height,uint8_t pubkey33[33]); int32_t komodo_currentheight(); -void *komodo_chainactive(int32_t height); +CBlock *komodo_chainactive(int32_t height); int8_t komodo_minerid(int32_t height,uint8_t *pubkey33); extern int32_t KOMODO_CHOSEN_ONE; #define KOMODO_ELECTION_GAP 2000