From 622c3c358747177b5351e062b3fde03dd38da376 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 22 Mar 2016 03:16:22 -0300 Subject: [PATCH] test --- iguana/iguana_recv.c | 2 ++ 1 file changed, 2 insertions(+) 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 )