From c00efdd3f30784a4dbd79f2eb2e46cfd8ab77548 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 31 Oct 2016 13:24:59 -0300 Subject: [PATCH] test --- iguana/dpow/dpow_fsm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/dpow/dpow_fsm.c b/iguana/dpow/dpow_fsm.c index 687c8a9ac..acff9b721 100755 --- a/iguana/dpow/dpow_fsm.c +++ b/iguana/dpow/dpow_fsm.c @@ -450,6 +450,8 @@ void dpow_statemachinestart(void *ptr) dp->blocks[checkpoint.blockhash.height - 1000] = 0; } } + bitcoin_address(srcaddr,src->chain->pubtype,dp->minerkey33,33); + bitcoin_address(destaddr,dest->chain->pubtype,dp->minerkey33,33); if ( kmdheight >= 0 ) { bp->numnotaries = komodo_notaries(pubkeys,kmdheight); @@ -475,8 +477,6 @@ void dpow_statemachinestart(void *ptr) free(ptr); return; } - bitcoin_address(srcaddr,src->chain->pubtype,dp->minerkey33,33); - bitcoin_address(destaddr,dest->chain->pubtype,dp->minerkey33,33); printf(" myaddr.(%s %s)\n",srcaddr,destaddr); if ( dpow_checkutxo(myinfo,dp,bp,bp->destcoin,&ep->dest.prev_hash,&ep->dest.prev_vout,destaddr) < 0 ) {