diff --git a/basilisk/basilisk_DEX.c b/basilisk/basilisk_DEX.c index 5ec6fcaed..cc44ade73 100755 --- a/basilisk/basilisk_DEX.c +++ b/basilisk/basilisk_DEX.c @@ -159,7 +159,10 @@ cJSON *basilisk_requestjson(struct basilisk_request *rp) jadd64bits(item,"minamount",rp->minamount); jaddstr(item,"dest",rp->dest); if ( rp->destamount != 0 ) - jadd64bits(item,"destamount",rp->destamount); + { + //jadd64bits(item,"destamount",rp->destamount); + jadd64bits(item,"destsatoshis",rp->destamount); + } jaddnum(item,"quotetime",rp->quotetime); jaddnum(item,"timestamp",rp->timestamp); jaddnum(item,"requestid",rp->requestid); diff --git a/basilisk/basilisk_tradebot.c b/basilisk/basilisk_tradebot.c index 5d16548dc..b84f428b0 100755 --- a/basilisk/basilisk_tradebot.c +++ b/basilisk/basilisk_tradebot.c @@ -228,7 +228,8 @@ struct basilisk_request *basilisk_parsejson(struct basilisk_request *rp,cJSON *r rp->desthash = jbits256(reqjson,"desthash"); rp->srcamount = j64bits(reqjson,"srcamount"); rp->minamount = j64bits(reqjson,"minamount"); - rp->destamount = j64bits(reqjson,"destamount"); + //rp->destamount = j64bits(reqjson,"destamount"); + rp->destamount = j64bits(reqjson,"destsatoshis"); requestid = juint(reqjson,"requestid"); quoteid = juint(reqjson,"quoteid"); //if ( jstr(reqjson,"relay") != 0 )