Browse Source

test

pull/4/head
jl777 8 years ago
parent
commit
64a4f69e9d
  1. 2
      src/komodo_notary.h

2
src/komodo_notary.h

@ -127,7 +127,7 @@ int32_t komodo_electednotary(uint8_t *pubkey33,int32_t height)
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 )
if ( strcmp(pubkeystr,(char *)Notaries_elected[i]) == 0 )
return(i);
return(-1);
}

Loading…
Cancel
Save