From b90d8bbe6a60687b7d89fa9acd15cadefa82fcd6 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 14 Oct 2016 16:45:52 -0300 Subject: [PATCH] test --- iguana/dpow/dpow_fsm.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/iguana/dpow/dpow_fsm.c b/iguana/dpow/dpow_fsm.c index d43f0cd75..eb66d3572 100755 --- a/iguana/dpow/dpow_fsm.c +++ b/iguana/dpow/dpow_fsm.c @@ -169,15 +169,12 @@ int32_t dpow_update(struct supernet_info *myinfo,struct dpow_block *bp,uint32_t dpow_signedtxgen(myinfo,bp->coin,bp,bp->bestk,bp->bestmask,myind,bp->opret_symbol,sigchannel); else dpow_sigsend(myinfo,bp,myind,bp->bestk,bp->bestmask,srchash,sigchannel); } - else + if ( bp->state != 0xffffffff ) { hash = srchash; hash.uints[0] = rand(); if ( (len= dpow_rwutxobuf(1,data,&bp->hashmsg,&bp->notaries[myind])) > 0 ) dpow_send(myinfo,bp,hash,bp->hashmsg,utxochannel,bp->height,data,len,bp->utxocrcs); - } - if ( bp->state != 0xffffffff ) - { if ( ep->masks[bp->bestk] == 0 ) dpow_signedtxgen(myinfo,bp->coin,bp,bp->bestk,bp->bestmask,myind,bp->opret_symbol,sigchannel); else dpow_sigsend(myinfo,bp,myind,bp->bestk,bp->bestmask,srchash,sigchannel);