From 85001e63064911551ff558d60505cb6ae5373306 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 18 Mar 2018 17:32:59 +0200 Subject: [PATCH] Test --- iguana/iguana_notary.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/iguana/iguana_notary.c b/iguana/iguana_notary.c index 717a05350..9f94fb4ea 100755 --- a/iguana/iguana_notary.c +++ b/iguana/iguana_notary.c @@ -578,15 +578,15 @@ void iguana_notarystats(int32_t totals[64],int32_t dispflag) STRING_AND_TWOINTS(dpow,notarizations,symbol,height,numblocks) { int32_t i,j,ht,maxheight,notht,masksums[64]; uint64_t signedmask; cJSON *retjson,*blockjson,*item,*array; bits256 blockhash; - if ( (retjson= dpow_getinfo(myinfo,coin)) != 0 ) - { - maxheight = jint(retjson,"blocks"); - free_json(retjson); - } else maxheight = (1 << 30); memset(masksums,0,sizeof(masksums)); ht = height; if ( (coin= iguana_coinfind(symbol)) != 0 ) { + if ( (retjson= dpow_getinfo(myinfo,coin)) != 0 ) + { + maxheight = jint(retjson,"blocks"); + free_json(retjson); + } else maxheight = (1 << 30); for (i=0; i