From 012d22d4b0cca5b55b05b5e4718ee671aac20fca Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 20 May 2017 19:09:36 +0300 Subject: [PATCH] Test --- basilisk/basilisk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/basilisk/basilisk.c b/basilisk/basilisk.c index da477d3b3..73e419316 100755 --- a/basilisk/basilisk.c +++ b/basilisk/basilisk.c @@ -1914,7 +1914,7 @@ INT_ARG(InstantDEX,incoming,requestid) retjson = cJSON_CreateObject(); DEX_channel = 'D' + ((uint32_t)'E' << 8) + ((uint32_t)'X' << 16); msgid = (uint32_t)time(NULL) + drift; - if ( (retarray= basilisk_channelget(myinfo,zero,myinfo->myaddr.persistent,DEX_channel,msgid,width)) != 0 ) + if ( (retarray= basilisk_channelget(myinfo,zero,pubkey,DEX_channel,msgid,width)) != 0 ) { //printf("GOT.(%s)\n",jprint(retarray,0)); if ( (retval= basilisk_process_retarray(myinfo,0,InstantDEX_process_channelget,data,sizeof(data),DEX_channel,msgid,retarray,InstantDEX_incoming_func)) > 0 ) @@ -1926,7 +1926,7 @@ INT_ARG(InstantDEX,incoming,requestid) else { jaddstr(retjson,"error","cant do InstantDEX channelget"); - char str[65]; printf("error channelget %s %x\n",bits256_str(str,myinfo->myaddr.persistent),msgid); + char str[65]; printf("error channelget %s %x\n",bits256_str(str,pubkey),msgid); } return(jprint(retjson,1)); }