From da76b280aad5840efe13c571f1e61f8b35ea3fa1 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 20 Nov 2016 19:35:29 -0300 Subject: [PATCH] test --- iguana/dpow/dpow_rpc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/dpow/dpow_rpc.c b/iguana/dpow/dpow_rpc.c index bf70dee0c..68e453319 100755 --- a/iguana/dpow/dpow_rpc.c +++ b/iguana/dpow/dpow_rpc.c @@ -22,12 +22,12 @@ int32_t komodo_notaries(char *symbol,uint8_t pubkeys[64][33],int32_t height) { if ( coin->FULLNODE < 0 ) { - sprintf(params,"[%d]",height); + sprintf(params,"[\"%d\"]",height); if ( (retstr= bitcoind_passthru(coin->symbol,coin->chain->serverport,coin->chain->userpass,"notaries",params)) != 0 ) { if ( (retjson= cJSON_Parse(retstr)) != 0 ) { - //printf("%s\n",retstr); + printf("%s\n",retstr); if ( (array= jarray(&num,retjson,"notaries")) != 0 ) { if ( num > 64 )