This commit is contained in:
jl777
2017-02-02 15:46:20 +02:00
parent 212b5a730b
commit 1b475b7905
2 changed files with 3 additions and 3 deletions

View File

@@ -606,7 +606,7 @@ void komodo_connectpindex(CBlockIndex *pindex)
}
int32_t komodo_notaries(uint8_t pubkeys[64][33],int32_t height);
int32_t komodo_electednotary(uint8_t *pubkey33);
int32_t komodo_electednotary(uint8_t *pubkey33,int32_t height);
int8_t komodo_minerid(int32_t height)
{

View File

@@ -122,9 +122,9 @@ const char *Notaries_elected[][2] =
{ "xxspot2_XX", "03d85b221ea72ebcd25373e7961f4983d12add66a92f899deaf07bab1d8b6f5573" }
};
int32_t komodo_electednotary(uint8_t *pubkey33)
int32_t komodo_electednotary(uint8_t *pubkey33,int32_t height)
{
char pubkeystr[67];
char pubkeystr[67]; int32_t i;
init_hexbytes_noT(pubkeystr,pubkey33,33);
for (i=0; i<sizeof(Notaries_elected)/sizeof(*Notaries_elected); i++)
if ( strcmp(pubkeystr,Notaries_elected[i]) == 0 )