diff --git a/basilisk/basilisk.c b/basilisk/basilisk.c index 0d0b7c203..4495e6c4a 100755 --- a/basilisk/basilisk.c +++ b/basilisk/basilisk.c @@ -169,7 +169,7 @@ void basilisk_functions(struct iguana_info *coin) char *basilisk_issuecmd(basilisk_func func,struct supernet_info *myinfo,char *remoteaddr,uint32_t basilisktag,char *symbol,int32_t timeoutmillis,cJSON *vals) { - struct iguana_info *coin; char *retstr=0; cJSON *retjson; + struct iguana_info *coin; char *retstr=0; if ( basilisktag == 0 ) OS_randombytes((uint8_t *)&basilisktag,sizeof(basilisktag)); if ( (coin= iguana_coinfind(symbol)) != 0 ) diff --git a/basilisk/basilisk_bitcoin.c b/basilisk/basilisk_bitcoin.c index 86059e197..4ed909e1f 100755 --- a/basilisk/basilisk_bitcoin.c +++ b/basilisk/basilisk_bitcoin.c @@ -594,6 +594,7 @@ char *basilisk_bitcoinrawtx(struct supernet_info *myinfo,struct iguana_info *coi jadd(resultobj,"vals",valsobj); jaddstr(resultobj,"agent","basilisk"); jaddstr(resultobj,"method","result"); + jaddnum(resultobj,"plaintext",1); //retstr = jprint(basilisk_resultsjson(myinfo,coin->symbol,remoteaddr,basilisktag,timeoutmillis,jprint(resultobj,1)),1); return(jprint(resultobj,1)); } else free(rawtx);