Browse Source

Test

etomic
jl777 8 years ago
parent
commit
012d22d4b0
  1. 4
      basilisk/basilisk.c

4
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));
}

Loading…
Cancel
Save