Browse Source

Test

etomic
jl777 8 years ago
parent
commit
8d42c859db
  1. 2
      .gitignore
  2. 5
      basilisk/basilisk.c

2
.gitignore

@ -274,3 +274,5 @@ iguana/DB/SWAPS/2448551545-1211445977
*.alicepayment
*.myfee
iguana/DB/SWAPS/1313312572-123661666

5
basilisk/basilisk.c

@ -1222,8 +1222,10 @@ HASH_ARRAY_STRING(basilisk,value,hash,vals,hexstr)
}
free_json(txoutjson);
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 )
basilisktag = rand();
if ( (timeoutmillis= juint(vals,"timeout")) <= 0 )
@ -1235,6 +1237,7 @@ HASH_ARRAY_STRING(basilisk,value,hash,vals,hexstr)
return(retstr);
}
}
}
if ( myinfo->reqsock >= 0 )
{
if ( (retstr= _dex_getrawtransaction(myinfo,symbol,txid)) != 0 )

Loading…
Cancel
Save