From 9bb36b37a4e1dcf296bf03988f7d681541e9f1fb Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 5 Mar 2017 00:13:13 +0200 Subject: [PATCH] Test --- basilisk/basilisk_MSG.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/basilisk/basilisk_MSG.c b/basilisk/basilisk_MSG.c index 33de5aa2f..be288096b 100755 --- a/basilisk/basilisk_MSG.c +++ b/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 )