From 415c83310240a4157b15e06169c633124411af64 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 2 Aug 2016 04:19:14 -0300 Subject: [PATCH] test --- iguana/iguana_recv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/iguana_recv.c b/iguana/iguana_recv.c index 2d6016f6d..1d28c637f 100755 --- a/iguana/iguana_recv.c +++ b/iguana/iguana_recv.c @@ -925,7 +925,7 @@ struct iguana_bundlereq *iguana_recvblockhashes(struct iguana_info *coin,struct { iguana_blockQ("recvhash",coin,0,-1,blockhashes[i],1); coin->longestchain = block->height+1; - if ( bp->speculative != 0 && i < bp->n ) + if ( bp != 0 && bp->speculative != 0 && i < bp->n ) bp->speculative[i] = blockhashes[i]; } }