diff --git a/iguana/dpow/dpow_network.c b/iguana/dpow/dpow_network.c index c41ea6a16..5d59c162c 100755 --- a/iguana/dpow/dpow_network.c +++ b/iguana/dpow/dpow_network.c @@ -261,6 +261,8 @@ void dpow_ratify_update(struct supernet_info *myinfo,struct dpow_info *dp,struct bp->lastepoch = (uint32_t)(time(NULL) / 100); printf("epoch %u\n",bp->lastepoch % bp->numnotaries); sleep(2 + (rand() % 7)); + for (i=0; inumnotaries; i++) + memset(&bp->notaries[i],0,sizeof(bp->notaries[i])); } } bp->notaries[bp->myind].ratifybestk = bp->ratifybestk;