test
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
@@ -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++)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user