Browse Source

test

pull/4/head
jl777 7 years ago
parent
commit
523a5dc7e0
  1. 6
      src/komodo_bitcoind.h
  2. 2
      src/komodo_utils.h

6
src/komodo_bitcoind.h

@ -376,12 +376,12 @@ int32_t komodo_verifynotarization(char *symbol,char *dest,int32_t height,int32_t
{
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);
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;
decode_hex(script,len,hexstr);

2
src/komodo_utils.h

@ -1502,7 +1502,7 @@ void komodo_args()
}
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;
for (iter=0; iter<2; iter++)
{

Loading…
Cancel
Save