Test
This commit is contained in:
@@ -137,7 +137,7 @@ int32_t komodo_electednotary(uint8_t *pubkey33,int32_t height)
|
|||||||
return(i);
|
return(i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ( height < 300000 )
|
/*if ( height < 300000 )
|
||||||
{
|
{
|
||||||
for (i=0; i<sizeof(Notaries_genesis)/sizeof(*Notaries_genesis); i++)
|
for (i=0; i<sizeof(Notaries_genesis)/sizeof(*Notaries_genesis); i++)
|
||||||
{
|
{
|
||||||
@@ -150,7 +150,7 @@ int32_t komodo_electednotary(uint8_t *pubkey33,int32_t height)
|
|||||||
decode_hex(legacy33,33,(char *)"0252b6185bf8ea7efe8bbc345ddc8da87329149f30233088387abd716d4aa9e974");
|
decode_hex(legacy33,33,(char *)"0252b6185bf8ea7efe8bbc345ddc8da87329149f30233088387abd716d4aa9e974");
|
||||||
if ( memcmp(pubkey33,legacy33,33) == 0 )
|
if ( memcmp(pubkey33,legacy33,33) == 0 )
|
||||||
return(128);
|
return(128);
|
||||||
}
|
}*/
|
||||||
return(-1);
|
return(-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -260,7 +260,7 @@ int32_t komodo_chosennotary(int32_t *notaryidp,int32_t height,uint8_t *pubkey33)
|
|||||||
return(modval);
|
return(modval);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//if ( height >= 250000 )
|
if ( height >= 300000 )
|
||||||
return(-1);
|
return(-1);
|
||||||
htind = height / KOMODO_ELECTION_GAP;
|
htind = height / KOMODO_ELECTION_GAP;
|
||||||
pthread_mutex_lock(&komodo_mutex);
|
pthread_mutex_lock(&komodo_mutex);
|
||||||
|
|||||||
Reference in New Issue
Block a user