Browse Source

fix

patch-14
blackjok3r 6 years ago
parent
commit
76d6fdcec2
  1. 4
      iguana/dpow/dpow_network.c

4
iguana/dpow/dpow_network.c

@ -2000,9 +2000,9 @@ void dpow_notarize_update(struct supernet_info *myinfo,struct dpow_info *dp,stru
bp->bestmask = dpow_maskmin(bp->recvmask,bp,&bp->bestk);
}
fprintf(stderr, "checkpoint ht.%i vs longestchain.%i\n", bp->height, bp->destcoin->longestchain);
// check that block has advanced by 1 on KMD before allowing bestmask to be calculated
if ( strcmp(bp->destcoin->symbol,"KMD") == 0 )
if ( strcmp(bp->destcoin->symbol,"KMD") != 0 )
{
fprintf(stderr, "X->KMD: checkpoint ht.%i vs longestchain.%i\n", bp->height, bp->srccoin->longestchain);
if ( bp->height == bp->srccoin->longestchain )

Loading…
Cancel
Save