From 5861d9c1cd3885a211d4a0f83bd64994f63486b7 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 13 Oct 2016 18:31:23 -0300 Subject: [PATCH] test --- iguana/iguana_notary.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/iguana_notary.c b/iguana/iguana_notary.c index 748f5b2ad..cb0cea2c6 100755 --- a/iguana/iguana_notary.c +++ b/iguana/iguana_notary.c @@ -1010,7 +1010,6 @@ uint32_t dpow_statemachineiterate(struct supernet_info *myinfo,struct dpow_info if ( bits256_nonz(bp->signedtxid) != 0 ) { bp->state = 0xffffffff; - dp->destupdated = 0; // prevent another state machine till next BTC block } return(bp->state); } @@ -1022,6 +1021,7 @@ void dpow_statemachinestart(void *ptr) memset(&zero,0,sizeof(zero)); myinfo = ptrs[0]; dp = ptrs[1]; + dp->destupdated = 0; // prevent another state machine till next BTC block memcpy(&checkpoint,&ptrs[2],sizeof(checkpoint)); printf("statemachinestart %s->%s %s ht.%d\n",dp->symbol,dp->dest,bits256_str(str,checkpoint.blockhash.hash),checkpoint.blockhash.height); src = iguana_coinfind(dp->symbol);