From 3df9e48d075595808460b4f8ddf0f4c3116d3337 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 9 Oct 2016 15:56:25 -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 be0feb90b..47efaeec9 100755 --- a/iguana/iguana_notary.c +++ b/iguana/iguana_notary.c @@ -407,7 +407,7 @@ int32_t dpow_message_most(uint8_t *k_masks,int32_t num,cJSON *json,int32_t lastf siglen = data[10]; sig = data+11; memcpy(&k_masks[num << 7],data,datalen); - printf("num.%d sender.%d lastk.%d %llx\n",num,senderind,lastk,(long long)mask); + printf(">>>>>>> num.%d sender.%d lastk.%d mask.%llx datalen.%d\n",num,senderind,lastk,(long long)mask,datalen); num++; } } else printf("datalen.%d >= maxlen.%d\n",datalen,(int32_t)sizeof(data)); @@ -422,11 +422,11 @@ int32_t dpow_message_most(uint8_t *k_masks,int32_t num,cJSON *json,int32_t lastf if ( n > most ) { most = n; - memcpy(&k_masks[num << 7],&k_masks[i << 7],1 << 7); + memcpy(&k_masks[num << 7],&k_masks[j << 7],1 << 7); } } } - //printf("most.%d n.%d\n",most,n); + printf("lastflag.%d num.%d most.%d n.%d\n",lastflag,num,most,n); return(num); }