From fa73aa673ed507b6896632246e79d14dc70c049d Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 16 Jan 2017 13:42:48 +0200 Subject: [PATCH] test --- src/komodo_bitcoind.h | 2 +- src/komodo_events.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/komodo_bitcoind.h b/src/komodo_bitcoind.h index dbbc5a178..241e453b2 100644 --- a/src/komodo_bitcoind.h +++ b/src/komodo_bitcoind.h @@ -395,7 +395,7 @@ int32_t komodo_verifynotarization(char *symbol,char *dest,int32_t height,int32_t { if ( (json= cJSON_Parse(jsonstr)) != 0 ) { - if ( (txjson= jobj(json,"result")) != 0 && (vouts= jarray(&n,txjson,(char *)"vout")) > 0 ) + if ( (txjson= jobj(json,(char *)"result")) != 0 && (vouts= jarray(&n,txjson,(char *)"vout")) > 0 ) { vout = jitem(vouts,n-1); printf("vout.(%s)\n",jprint(vout,0)); diff --git a/src/komodo_events.h b/src/komodo_events.h index 0e600f32e..aeb038f99 100644 --- a/src/komodo_events.h +++ b/src/komodo_events.h @@ -39,7 +39,7 @@ struct komodo_event *komodo_eventadd(struct komodo_state *sp,int32_t height,char void komodo_eventadd_notarized(struct komodo_state *sp,char *symbol,int32_t height,char *dest,uint256 notarized_hash,uint256 notarized_desttxid,int32_t notarizedheight) { struct komodo_event_notarized N; - if ( komodo_verifynotarization(symbol,dest,height,notarized_height,notarized_hash,notarized_desttxid) != 0 ) + if ( komodo_verifynotarization(symbol,dest,height,notarizedheight,notarized_hash,notarized_desttxid) != 0 ) printf("error validating notarization\n"); else {