diff --git a/iguana/iguana_recv.c b/iguana/iguana_recv.c index e5fb3deac..25bc68175 100755 --- a/iguana/iguana_recv.c +++ b/iguana/iguana_recv.c @@ -998,6 +998,8 @@ int32_t iguana_reqblocks(struct iguana_info *coin) else if ( bp != 0 && bundlei < bp->n-1 && (bits256_nonz(bp->hashes[bundlei+1]) != 0 || (bp->speculative != 0 && bits256_nonz(bp->speculative[bundlei+1]) != 0)) ) { int32_t j; + memset(bp->hashes[bundlei].bytes,0,sizeof(bp->hashes[bundlei])); + bp->blocks[bundlei] = 0; for (j=0; j<5&&bundlei+j+1n; j++) { if ( time(NULL) > bp->issued[bundlei+1+j]+10 )