From da7caeed1d9f50f953ffe345ef9bc967e580bef8 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 9 Nov 2016 19:56:56 -0300 Subject: [PATCH] test --- iguana/dpow/dpow_network.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/iguana/dpow/dpow_network.c b/iguana/dpow/dpow_network.c index 1da0a7072..67c12f613 100755 --- a/iguana/dpow/dpow_network.c +++ b/iguana/dpow/dpow_network.c @@ -351,6 +351,8 @@ int32_t dpow_rwsigentry(int32_t rwflag,uint8_t *data,struct dpow_sigentry *dsig) void dpow_sigsend(struct supernet_info *myinfo,struct dpow_info *dp,struct dpow_block *bp,int32_t myind,int8_t bestk,uint64_t bestmask,bits256 srchash,uint32_t sigchannel) { struct dpow_sigentry dsig; int32_t i,len; uint8_t data[4096]; struct dpow_entry *ep; + if ( ((1LL << myind) & bestmask) == 0 ) + return; ep = &bp->notaries[myind]; if ( bestk >= 0 ) {