From 52b12f48d5d28c5c469ed96cb0135fd5989f2143 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 10 Oct 2016 07:08:49 -0300 Subject: [PATCH] test --- iguana/iguana_notary.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/iguana/iguana_notary.c b/iguana/iguana_notary.c index 5cc953c5a..65ed18c8f 100755 --- a/iguana/iguana_notary.c +++ b/iguana/iguana_notary.c @@ -635,7 +635,7 @@ int32_t dpow_signedtxgen(struct supernet_info *myinfo,struct dpow_info *dp,struc { if ( (jsonstr= dpow_signrawtransaction(myinfo,coin,rawtx,vins)) != 0 ) { - printf("dpowsign.(%s)\n",jsonstr); + printf("mask.%llx dpowsign.(%s)\n",(long long)mask,jsonstr); if ( (signobj= cJSON_Parse(jsonstr)) != 0 ) { if ( ((signedtx= jstr(signobj,"hex")) != 0 || (signedtx= jstr(signobj,"result")) != 0) && (rawtx2= dpow_decoderawtransaction(myinfo,coin,signedtx)) != 0 ) @@ -688,7 +688,7 @@ int32_t dpow_k_masks_match(struct dpow_entry notaries[DPOW_MAXRELAYS],int32_t nu for (i=0; isymbol,bits256_nonz(btctxid),(long long)*recvmaskp); mask = 0; for (j=m=nonz=0; jsymbol,bits256_nonz(btctxid),(long long)*recvmaskp,(long long)mask); if ( bitweight(mask) == numnotaries/2+1 && m == numnotaries/2+1 ) { if ( dpow_signedtxgen(myinfo,dp,coin,signedtxidp,signedtx,mask,k,notaries,numnotaries,heightmsg,myind,hashmsg,btctxid,timestamp,beacon) == 0 )