Browse Source

Test

etomic
jl777 8 years ago
parent
commit
9bb36b37a4
  1. 6
      basilisk/basilisk_MSG.c

6
basilisk/basilisk_MSG.c

@ -400,13 +400,13 @@ cJSON *basilisk_channelget(struct supernet_info *myinfo,bits256 srchash,bits256
jaddnum(valsobj,"numrequired",1);
jaddbits256(valsobj,"srchash",srchash);
jaddbits256(valsobj,"desthash",desthash);
if ( myinfo->IAMNOTARY != 0 )
//if ( myinfo->IAMNOTARY != 0 )
retstr = basilisk_getmessage(myinfo,0,0,0,desthash,valsobj,0);
else
/*else
{
retstr = _dex_getmessage(myinfo,jprint(valsobj,0));
printf("channel.%u msgid.%u gotmessage.(%d) %s\n",channel,msgid,(int32_t)strlen(retstr),strlen(retstr) < 100 ? retstr : "(too long)");
}
}*/
if ( retstr != 0 )
{
if ( (retarray= cJSON_Parse(retstr)) != 0 )

Loading…
Cancel
Save