From c4a784e51d03c13c0aefa5678af6934bbd711a74 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 4 Sep 2018 18:44:57 -1100 Subject: [PATCH] Test --- src/cc/dapps/oraclefeed.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/cc/dapps/oraclefeed.c b/src/cc/dapps/oraclefeed.c index 359e203b3..ea5a6eb54 100644 --- a/src/cc/dapps/oraclefeed.c +++ b/src/cc/dapps/oraclefeed.c @@ -330,9 +330,11 @@ void komodobroadcast(char *acname,cJSON *hexjson) char *hexstr,*retstr; cJSON *retjson; if ( (hexstr= jstr(hexjson,"hex")) != 0 ) { - //fprintf(stderr,"hexstr.(%s)\n",hexstr); if ( (retjson= get_komodocli(&retstr,acname,"sendrawtransaction",hexstr,"","")) != 0 ) + { + fprintf(stderr,"broadcast.(%s)\n",jprint(retjson,0)); free_json(retjson); + } else if ( retstr != 0 ) { fprintf(stderr,"txid.(%s)\n",retstr);