From 76d6fdcec2bdf3db9d77ee67bbf357631a20b019 Mon Sep 17 00:00:00 2001 From: blackjok3r Date: Mon, 29 Jul 2019 07:11:48 +0800 Subject: [PATCH] fix --- iguana/dpow/dpow_network.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/dpow/dpow_network.c b/iguana/dpow/dpow_network.c index 9ab92ca5a..b17d409d5 100755 --- a/iguana/dpow/dpow_network.c +++ b/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 )