From 5b15ad25e8f342c8f89532ccb7c33ce80cd9cc73 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 10 Nov 2016 13:24:15 -0300 Subject: [PATCH] test --- iguana/dPoW.h | 2 +- iguana/dpow/dpow_fsm.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/iguana/dPoW.h b/iguana/dPoW.h index a8db28ec5..7da52d376 100755 --- a/iguana/dPoW.h +++ b/iguana/dPoW.h @@ -102,7 +102,7 @@ struct dpow_block int32_t height,numnotaries,completed,minsigs,duration,numratified,isratify,require0,scores[DPOW_MAXRELAYS]; int8_t bestk; cJSON *ratified; - uint8_t ratified_pubkeys[DPOW_MAXRELAYS][33]; char handles[DPOW_MAXRELAYS][32]; + uint8_t myind,ratified_pubkeys[DPOW_MAXRELAYS][33]; char handles[DPOW_MAXRELAYS][32]; char signedtx[32768];//,rawtx[32768]; }; diff --git a/iguana/dpow/dpow_fsm.c b/iguana/dpow/dpow_fsm.c index b5342c853..a07bd384d 100755 --- a/iguana/dpow/dpow_fsm.c +++ b/iguana/dpow/dpow_fsm.c @@ -603,6 +603,7 @@ void dpow_statemachinestart(void *ptr) bp->height = checkpoint.blockhash.height; bp->timestamp = checkpoint.timestamp; bp->hashmsg = checkpoint.blockhash.hash; + bp->myind = myind; while ( bp->isratify == 0 && dp->destupdated == 0 ) { if ( dp->checkpoint.blockhash.height > checkpoint.blockhash.height )