From ed35d860a5dd30e73f74963e9984243c7355ab10 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 6 Dec 2016 13:25:14 +0200 Subject: [PATCH] test --- iguana/dpow/dpow_rpc.c | 2 +- iguana/iguana_notary.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/iguana/dpow/dpow_rpc.c b/iguana/dpow/dpow_rpc.c index 684bc82cc..4c951879f 100755 --- a/iguana/dpow/dpow_rpc.c +++ b/iguana/dpow/dpow_rpc.c @@ -104,7 +104,7 @@ int32_t dpow_paxpending(uint8_t *hex) decode_hex(hex,n,hexstr); } free_json(retjson); - } + } else printf("dpow_paxpending: parse error.(%s)\n",retstr); free(retstr); } else printf("dpow_paxpending: paxwithdraw null return\n"); } else printf("dpow_paxpending: KMD FULLNODE.%d\n",coin->FULLNODE); diff --git a/iguana/iguana_notary.c b/iguana/iguana_notary.c index 117df13f3..54c203098 100755 --- a/iguana/iguana_notary.c +++ b/iguana/iguana_notary.c @@ -300,9 +300,9 @@ TWO_STRINGS(iguana,dpow,symbol,pubkey) if ( myinfo->numdpows++ == 0 ) portable_mutex_init(&dp->mutex); PAX_init(); - //printf(">>>>>>>>>>>>>>> call paxpending\n"); - //uint8_t buf[32768]; - //dpow_paxpending(buf); + printf(">>>>>>>>>>>>>>> call paxpending\n"); + uint8_t buf[32768]; + dpow_paxpending(buf); return(clonestr("{\"result\":\"success\"}")); }