Browse Source

fix

blackjok3r
blackjok3r 6 years ago
parent
commit
ad8e9158c9
  1. 6
      iguana/dpow/dpow_tx.c

6
iguana/dpow/dpow_tx.c

@ -178,12 +178,14 @@ struct dpow_block *dpow_heightfind(struct supernet_info *myinfo,struct dpow_info
{ {
if ( dp->blocks[i] != 0 ) if ( dp->blocks[i] != 0 )
{ {
fprintf(stderr, "symbol.%s height.%i dp_height.%i\n",dp->symbol, height, dp->blocks[i]->height);
if ( height == dp->blocks[i]->height ) if ( height == dp->blocks[i]->height )
{
fprintf(stderr, "FOUND DP: symbol.%s height.%i dp_height.%i\n",dp->symbol, height, dp->blocks[i]->height);
return(bp); return(bp);
}
} }
} }
return(0); return(bp);
} }
int32_t dpow_blockfind(struct supernet_info *myinfo,struct dpow_info *dp) int32_t dpow_blockfind(struct supernet_info *myinfo,struct dpow_info *dp)

Loading…
Cancel
Save