From 96c9b3fff886a99f92339b658dc5c71627bd06c9 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 18 Aug 2016 23:34:58 -0300 Subject: [PATCH] test --- iguana/iguana_recv.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/iguana/iguana_recv.c b/iguana/iguana_recv.c index e745ddee4..63c83134a 100755 --- a/iguana/iguana_recv.c +++ b/iguana/iguana_recv.c @@ -510,7 +510,10 @@ void iguana_gotblockM(struct iguana_info *coin,struct iguana_peer *addr,struct i if ( txdata->zblock.fpos == 0 ) { numtx = origtxdata->zblock.RO.txn_count; - if ( coin->RTheight > 0 ) + for (i=0; ibundlescount; i++) + if ( (bp= coin->bundles[i]) != 0 && bits256_cmp(bp->hashes[0],txdata->zblock.RO.hash2) == 0 ) + break; + if ( i != coin->bundlescount || coin->RTheight > 0 ) { portable_mutex_lock(&coin->RTmutex); iguana_RTrawdata(coin,txdata->zblock.RO.hash2,data,&recvlen,&numtx,0);