This commit is contained in:
jl777
2017-02-02 16:31:33 +02:00
parent d9214eeb36
commit 3a8fc3d78b
2 changed files with 2 additions and 2 deletions

View File

@@ -605,7 +605,7 @@ void komodo_connectpindex(CBlockIndex *pindex)
komodo_connectblock(pindex,block); komodo_connectblock(pindex,block);
} }
void *komodo_chainactive(int32_t height) CBlock *komodo_chainactive(int32_t height)
{ {
return(chainActive[height]); return(chainActive[height]);
} }

View File

@@ -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_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_is_special(int32_t height,uint8_t pubkey33[33]);
int32_t komodo_currentheight(); 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); int8_t komodo_minerid(int32_t height,uint8_t *pubkey33);
extern int32_t KOMODO_CHOSEN_ONE; extern int32_t KOMODO_CHOSEN_ONE;
#define KOMODO_ELECTION_GAP 2000 #define KOMODO_ELECTION_GAP 2000