From 1968ba7f16cee27a31d4658dd302c78d9d0d6fc2 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 21 Apr 2016 02:23:32 -0500 Subject: [PATCH] test --- iguana/iguana_unspents.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/iguana_unspents.c b/iguana/iguana_unspents.c index b712428e6..fb3e991ad 100755 --- a/iguana/iguana_unspents.c +++ b/iguana/iguana_unspents.c @@ -788,7 +788,7 @@ struct iguana_pkhash *iguana_pkhashfind(struct iguana_info *coin,struct iguana_r printf("iguana_pkhashfind: unexpected access when RTramchain_busy\n"); return(0); } - ramchain = &bp->ramchain;//(bp->isRT != 0) ? &bp->ramchain : &coin->RTramchain; + ramchain = (bp != coin->current) ? &bp->ramchain : &coin->RTramchain; if ( (rdata= ramchain->H.data) != 0 ) { numpkinds = rdata->numpkinds;