From df69769818b5846bb82d5598eba4afec108769d5 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 13 Dec 2016 13:27:55 +0200 Subject: [PATCH] test --- iguana/dpow/dpow_fsm.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/iguana/dpow/dpow_fsm.c b/iguana/dpow/dpow_fsm.c index 21c8c0dd6..97fb5483b 100755 --- a/iguana/dpow/dpow_fsm.c +++ b/iguana/dpow/dpow_fsm.c @@ -402,8 +402,13 @@ void dpow_statemachinestart(void *ptr) //printf("done utxosync start.%u %u\n",starttime,(uint32_t)time(NULL)); while ( time(NULL) < starttime+bp->duration && src != 0 && dest != 0 && bp->state != 0xffffffff ) { - if ( bp->isratify == 0 && myinfo->DPOWS[0].ratifying != 0 ) - break; + if ( bp->isratify == 0 ) + { + if ( myinfo->DPOWS[0].ratifying != 0 ) + break; + extralen = dpow_paxpending(extras); + bp->paxwdcrc = bp->notaries[bp->myind].paxwdcrc = calc_crc32(0,extras,extralen); + } sleep(1); if ( dp->checkpoint.blockhash.height > checkpoint.blockhash.height ) {