Browse Source

Test

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

2
.gitignore

@ -366,3 +366,5 @@ iguana/DB/SWAPS/442294237-2721246052
iguana/DB/SWAPS/1247864366-3828803132
iguana/DB/SWAPS/2910626293-1439062588
iguana/DB/SWAPS/3893087081-2278083649

1
basilisk/basilisk.c

@ -1253,6 +1253,7 @@ HASH_ARRAY_STRING(basilisk,value,hash,vals,hexstr)
retjson = cJSON_CreateObject();
jaddstr(retjson,"result","success");
jaddnum(retjson,"numconfirms",jint(txoutjson,"confirmations"));
jaddnum(retjson,"height",jint(txoutjson,"height"));
if ( (array= jarray(&n,txoutjson,"vout")) != 0 && vout < n && (txjson= jitem(array,vout)) != 0 )
{
//printf("txjson.(%s)\n",jprint(txjson,0));

Loading…
Cancel
Save