From 1dfadb32943e6c5ffcddce77209d003c47fab99e Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 9 Nov 2016 19:29:07 -0300 Subject: [PATCH] test --- iguana/dpow/dpow_tx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/iguana/dpow/dpow_tx.c b/iguana/dpow/dpow_tx.c index f2cd38793..905419af2 100755 --- a/iguana/dpow/dpow_tx.c +++ b/iguana/dpow/dpow_tx.c @@ -62,7 +62,7 @@ uint64_t dpow_maskmin(uint64_t refmask,struct dpow_block *bp,int8_t *lastkp) } } } - bp->recvmask = mask; + bp->recvmask |= mask; if ( *lastkp >= 0 ) { for (mask=j=0; jnumnotaries; j++) @@ -70,13 +70,13 @@ uint64_t dpow_maskmin(uint64_t refmask,struct dpow_block *bp,int8_t *lastkp) if ( bp->notaries[j].src.siglens[*lastkp] > 0 ) mask |= (1LL << j); } - bp->srcsigsmasks[*lastkp] = mask; + bp->srcsigsmasks[*lastkp] |= mask; for (mask=j=0; jnumnotaries; j++) { if ( bp->notaries[j].dest.siglens[*lastkp] > 0 ) mask |= (1LL << j); } - bp->destsigsmasks[*lastkp] = mask; + bp->destsigsmasks[*lastkp] |= mask; } return(bestmask); }