From 2b7ea93af295b32d28d0fb84ddf638e00082fa80 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 26 Jun 2016 17:57:03 -0300 Subject: [PATCH] test --- iguana/iguana_tx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/iguana/iguana_tx.c b/iguana/iguana_tx.c index 35a80efa0..242340243 100755 --- a/iguana/iguana_tx.c +++ b/iguana/iguana_tx.c @@ -73,7 +73,8 @@ int32_t iguana_vinset(struct iguana_info *coin,uint8_t *scriptspace,int32_t heig if ( height >= 0 && height < coin->chain->bundlesize*coin->bundlescount && (bp= coin->bundles[height / coin->chain->bundlesize]) != 0 ) { ramchain = &bp->ramchain;//(bp == coin->current) ? &coin->RTramchain : &bp->ramchain; - if ( (rdata= ramchain->H.data) != 0 && i < rdata->numspends ) + if ( ((rdata= ramchain->H.data) != 0 || ((bp == coin->current && (rdata= coin->RTramchain.H.data) != 0))) && i < tx->numvins ) + //if ( (rdata= ramchain->H.data) != 0 && i < rdata->numspends ) { S = RAMCHAIN_PTR(rdata,Soffset); X = RAMCHAIN_PTR(rdata,Xoffset);