Browse Source

test

acspeed
jl777 8 years ago
parent
commit
a370622630
  1. 9
      iguana/dpow/dpow_fsm.c

9
iguana/dpow/dpow_fsm.c

@ -270,9 +270,16 @@ void dpow_statemachinestart(void *ptr)
if ( kmdheight >= 0 )
{
ht = kmdheight;///strcmp("KMD",src->symbol) == 0 ? kmdheight : bp->height;
if ( ht == 0 || strcmp("KMD",dest->symbol) == 0 )
if ( strcmp("KMD",dest->symbol) == 0 )
{
bp->numnotaries = komodo_notaries(dest->symbol,pubkeys,ht);
}
else
{
if ( ht == 0 )
ht = strcmp("KMD",src->symbol) == 0 ? src->longestchain : dest->longestchain;
bp->numnotaries = komodo_notaries(src->symbol,pubkeys,ht);
}
for (i=0; i<bp->numnotaries; i++)
{
//int32_t j; for (j=0; j<33; j++)

Loading…
Cancel
Save