test
This commit is contained in:
@@ -289,7 +289,7 @@ int32_t komodo_voutupdate(int32_t *isratificationp,int32_t notaryid,uint8_t *scr
|
|||||||
if ( memcmp(crypto777,scriptbuf+1,33) == 0 )
|
if ( memcmp(crypto777,scriptbuf+1,33) == 0 )
|
||||||
{
|
{
|
||||||
*specialtxp = 1;
|
*specialtxp = 1;
|
||||||
printf(">>>>>>>> ");
|
//printf(">>>>>>>> ");
|
||||||
}
|
}
|
||||||
else if ( komodo_chosennotary(&nid,height,scriptbuf + 1) >= 0 )
|
else if ( komodo_chosennotary(&nid,height,scriptbuf + 1) >= 0 )
|
||||||
{
|
{
|
||||||
@@ -303,9 +303,9 @@ int32_t komodo_voutupdate(int32_t *isratificationp,int32_t notaryid,uint8_t *scr
|
|||||||
}
|
}
|
||||||
else if ( notaryid != nid )
|
else if ( notaryid != nid )
|
||||||
{
|
{
|
||||||
for (i=0; i<33; i++)
|
//for (i=0; i<33; i++)
|
||||||
printf("%02x",scriptbuf[i+1]);
|
// printf("%02x",scriptbuf[i+1]);
|
||||||
printf(" %s mismatch notaryid.%d k.%d\n",ASSETCHAINS_SYMBOL,notaryid,nid);
|
//printf(" %s mismatch notaryid.%d k.%d\n",ASSETCHAINS_SYMBOL,notaryid,nid);
|
||||||
notaryid = 64;
|
notaryid = 64;
|
||||||
*voutmaskp = 0;
|
*voutmaskp = 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -138,7 +138,7 @@ void komodo_notarysinit(int32_t height,uint8_t pubkeys[64][33],int32_t num)
|
|||||||
memcpy(kp->pubkey,pubkeys[k],33);
|
memcpy(kp->pubkey,pubkeys[k],33);
|
||||||
kp->notaryid = k;
|
kp->notaryid = k;
|
||||||
HASH_ADD_KEYPTR(hh,N.Notaries,kp->pubkey,33,kp);
|
HASH_ADD_KEYPTR(hh,N.Notaries,kp->pubkey,33,kp);
|
||||||
//if ( height > 10000 )
|
if ( height > 10000 )
|
||||||
{
|
{
|
||||||
for (i=0; i<33; i++)
|
for (i=0; i<33; i++)
|
||||||
printf("%02x",pubkeys[k][i]);
|
printf("%02x",pubkeys[k][i]);
|
||||||
|
|||||||
Reference in New Issue
Block a user