|
@ -1222,8 +1222,10 @@ HASH_ARRAY_STRING(basilisk,value,hash,vals,hexstr) |
|
|
} |
|
|
} |
|
|
free_json(txoutjson); |
|
|
free_json(txoutjson); |
|
|
return(jprint(retjson,1)); |
|
|
return(jprint(retjson,1)); |
|
|
} else return(clonestr("{\"error\":\"null return from gettxout\"}")); |
|
|
} //else return(clonestr("{\"error\":\"null return from gettxout\"}"));
|
|
|
} |
|
|
} |
|
|
|
|
|
else |
|
|
|
|
|
{ |
|
|
if ( (basilisktag= juint(vals,"basilisktag")) == 0 ) |
|
|
if ( (basilisktag= juint(vals,"basilisktag")) == 0 ) |
|
|
basilisktag = rand(); |
|
|
basilisktag = rand(); |
|
|
if ( (timeoutmillis= juint(vals,"timeout")) <= 0 ) |
|
|
if ( (timeoutmillis= juint(vals,"timeout")) <= 0 ) |
|
@ -1235,6 +1237,7 @@ HASH_ARRAY_STRING(basilisk,value,hash,vals,hexstr) |
|
|
return(retstr); |
|
|
return(retstr); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
if ( myinfo->reqsock >= 0 ) |
|
|
if ( myinfo->reqsock >= 0 ) |
|
|
{ |
|
|
{ |
|
|
if ( (retstr= _dex_getrawtransaction(myinfo,symbol,txid)) != 0 ) |
|
|
if ( (retstr= _dex_getrawtransaction(myinfo,symbol,txid)) != 0 ) |
|
|