jl777 8 years ago
parent
commit
0a235b5c36
  1. 2
      crypto777/cJSON.c
  2. 2
      iguana/dpow/dpow_fsm.c

2
crypto777/cJSON.c

@ -837,7 +837,7 @@ char *jprint(cJSON *json,int32_t freeflag)
initflag = 1;
}*/
if ( json == 0 )
return(clonestr("{}"));
return(clonestr((char *)"{}"));
//portable_mutex_lock(&mutex);
//usleep(5000);
str = cJSON_Print(json), _stripwhite(str,' ');

2
iguana/dpow/dpow_fsm.c

@ -117,7 +117,7 @@ int32_t dpow_datahandler(struct supernet_info *myinfo,uint32_t channel,uint32_t
dpow_notaryfind(myinfo,bp,&myind,myinfo->DPOW.minerkey33);
if ( myind < 0 )
{
printf("couldnt find myind height.%d\n",height);
printf("couldnt find myind height.%d | this means your pubkey for this node is not registered and needs to be ratified by majority vote of all notaries\n",height);
return(-1);
}
for (i=0; i<32; i++)

Loading…
Cancel
Save