|
@ -143,7 +143,7 @@ void dpow_destupdate(struct supernet_info *myinfo,struct dpow_info *dp,int32_t h |
|
|
void iguana_dPoWupdate(struct supernet_info *myinfo,struct dpow_info *dp) |
|
|
void iguana_dPoWupdate(struct supernet_info *myinfo,struct dpow_info *dp) |
|
|
{ |
|
|
{ |
|
|
int32_t i,height; uint32_t blocktime; bits256 blockhash; struct iguana_info *src,*dest; |
|
|
int32_t i,height; uint32_t blocktime; bits256 blockhash; struct iguana_info *src,*dest; |
|
|
for (i=0; i<1; i++) |
|
|
for (i=0; i<10; i++) |
|
|
if ( dpow_nanomsg_update(myinfo) <= 0 ) |
|
|
if ( dpow_nanomsg_update(myinfo) <= 0 ) |
|
|
break; |
|
|
break; |
|
|
src = iguana_coinfind(dp->symbol); |
|
|
src = iguana_coinfind(dp->symbol); |
|
|