Browse Source

Test

etomic
jl777 8 years ago
parent
commit
ab0cc67a42
  1. 2
      basilisk/basilisk_swap.c
  2. 6
      iguana/dpow/dpow_network.c

2
basilisk/basilisk_swap.c

@ -2642,7 +2642,7 @@ cJSON *basilisk_remember(struct supernet_info *myinfo,uint64_t *KMDtotals,uint64
{
if ( (retstr= _dex_sendrawtransaction(myinfo,symbol,txbytes)) != 0 )
{
printf("RETSTR.(%s)\n",retstr);
printf("%s RETSTR.(%s)\n",txbytes,retstr);
free(retstr);
}
}

6
iguana/dpow/dpow_network.c

@ -1088,11 +1088,13 @@ char *_dex_getbestblockhash(struct supernet_info *myinfo,char *symbol)
char *_dex_sendrawtransaction(struct supernet_info *myinfo,char *symbol,char *signedtx)
{
struct dex_request dexreq;
struct dex_request dexreq; char *retstr;
memset(&dexreq,0,sizeof(dexreq));
safecopy(dexreq.name,symbol,sizeof(dexreq.name));
dexreq.func = 'S';
return(_dex_sendrequeststr(myinfo,&dexreq,signedtx,0,3,"*"));
retstr = _dex_sendrequeststr(myinfo,&dexreq,signedtx,0,1,"*");
printf("RET.(%s)\n",retstr);
return(retstr);
}
char *_dex_importaddress(struct supernet_info *myinfo,char *symbol,char *address)

Loading…
Cancel
Save