From a357e2916c3113a728ac91831389f4bf9f315249 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 18 Nov 2016 07:19:40 -0300 Subject: [PATCH] test --- iguana/iguana_notary.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/iguana/iguana_notary.c b/iguana/iguana_notary.c index 7a8f7f48a..ca23d59d2 100755 --- a/iguana/iguana_notary.c +++ b/iguana/iguana_notary.c @@ -179,13 +179,19 @@ void iguana_dPoWupdate(struct supernet_info *myinfo,struct dpow_info *dp) else { while ( dp->lastheight <= height ) + { + blockhash = dpow_getblockhash(myinfo,src,dp->lastheight); dpow_srcupdate(myinfo,dp,dp->lastheight++,blockhash,(uint32_t)time(NULL),blocktime); + } } } else { while ( dp->lastheight <= height ) + { + blockhash = dpow_getblockhash(myinfo,src,dp->lastheight); dpow_srcupdate(myinfo,dp,dp->lastheight++,blockhash,(uint32_t)time(NULL),blocktime); + } } } //else printf("error getchaintip for %s\n",dp->symbol); } else printf("iguana_dPoWupdate missing src.(%s) %p or dest.(%s) %p\n",dp->symbol,src,dp->dest,dest);