Browse Source

test

acspeed
jl777 8 years ago
parent
commit
fc04be111d
  1. 2
      iguana/dpow/dpow_fsm.c
  2. 6
      iguana/iguana_notary.c

2
iguana/dpow/dpow_fsm.c

@ -270,7 +270,7 @@ void dpow_statemachinestart(void *ptr)
if ( kmdheight >= 0 )
{
ht = kmdheight;///strcmp("KMD",src->symbol) == 0 ? kmdheight : bp->height;
if ( ht == 0 )
if ( ht == 0 || strcmp("KMD",dest->symbol) == 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++)

6
iguana/iguana_notary.c

@ -275,9 +275,9 @@ TWO_STRINGS(iguana,dpow,symbol,pubkey)
myinfo->numdpows++;
PAX_init();
portable_mutex_init(&dp->mutex);
printf(">>>>>>>>>>>>>>> call paxpending\n");
uint8_t buf[32768];
dpow_paxpending(buf);
//printf(">>>>>>>>>>>>>>> call paxpending\n");
//uint8_t buf[32768];
//dpow_paxpending(buf);
return(clonestr("{\"result\":\"success\"}"));
}

Loading…
Cancel
Save