From 7fb8afea86ea3776a54100cc3f9a1d27d388ded9 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 28 Apr 2018 13:23:29 +0300 Subject: [PATCH] Test --- iguana/iguana_notary.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/iguana/iguana_notary.c b/iguana/iguana_notary.c index 6fb2e69fd..389150549 100755 --- a/iguana/iguana_notary.c +++ b/iguana/iguana_notary.c @@ -402,9 +402,6 @@ THREE_STRINGS_AND_DOUBLE(iguana,dpow,symbol,dest,pubkey,freq) free(retstr); retstr = 0; } - for (i=0; i<33; i++) - printf("%02x",dp->minerkey33[i]); - printf(" DPOW with pubkey.(%s) %s.valid%d %s -> %s %s.valid%d, num.%d/max.%d\n",tmp,srcaddr,srcvalid,dp->symbol,dp->dest,destaddr,destvalid,myinfo->numdpows,myinfo->maxdpows); if ( srcvalid <= 0 || destvalid <= 0 ) { dp->symbol[0] = 0; @@ -427,6 +424,9 @@ THREE_STRINGS_AND_DOUBLE(iguana,dpow,symbol,dest,pubkey,freq) //uint8_t buf[32768]; //dpow_paxpending(buf); myinfo->numdpows++; + for (i=0; i<33; i++) + printf("%02x",dp->minerkey33[i]); + printf(" DPOW with pubkey.(%s) %s.valid%d %s -> %s %s.valid%d, num.%d/max.%d freq.%d minsigs.%d\n",tmp,srcaddr,srcvalid,dp->symbol,dp->dest,destaddr,destvalid,myinfo->numdpows,myinfo->maxdpows,dp->freq,dp->minsigs); return(clonestr("{\"result\":\"success\"}")); }