This commit is contained in:
jl777
2017-01-16 12:32:20 +02:00
parent b55c236736
commit 523a5dc7e0
2 changed files with 4 additions and 4 deletions

View File

@@ -376,12 +376,12 @@ int32_t komodo_verifynotarization(char *symbol,char *dest,int32_t height,int32_t
{ {
if ( (txjson= cJSON_Parse(jsonstr)) != 0 ) if ( (txjson= cJSON_Parse(jsonstr)) != 0 )
{ {
if ( (vouts= jarray(&n,txjson,"vout")) > 0 ) if ( (vouts= jarray(&n,txjson,(char *)"vout")) > 0 )
{ {
vout = jitem(vouts,n-1); vout = jitem(vouts,n-1);
if ( (skey= jobj(vout,"scriptPubKey")) != 0 ) if ( (skey= jobj(vout,(char *)"scriptPubKey")) != 0 )
{ {
if ( (hexstr= jstr(skey,"hex")) != 0 ) if ( (hexstr= jstr(skey,(char *)"hex")) != 0 )
{ {
len = strlen(hexstr) >> 1; len = strlen(hexstr) >> 1;
decode_hex(script,len,hexstr); decode_hex(script,len,hexstr);

View File

@@ -1502,7 +1502,7 @@ void komodo_args()
} }
else else
{ {
char fname[512],username[512],password[4096]; FILE *fp; char fname[512],username[512],password[4096]; int32_t iter; FILE *fp;
ASSETCHAINS_PORT = 8777; ASSETCHAINS_PORT = 8777;
for (iter=0; iter<2; iter++) for (iter=0; iter<2; iter++)
{ {