From dc31ff28666a57a4b55f70c0d1d170e56944dcef Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 26 Jun 2016 17:51:40 -0300 Subject: [PATCH] test --- iguana/iguana_tx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/iguana_tx.c b/iguana/iguana_tx.c index 1885e737c..35a80efa0 100755 --- a/iguana/iguana_tx.c +++ b/iguana/iguana_tx.c @@ -125,7 +125,7 @@ int32_t iguana_voutset(struct iguana_info *coin,uint8_t *scriptspace,char *asmst 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 < tx->numvouts ) + if ( ((rdata= ramchain->H.data) != 0 || ((bp == coin->current && (rdata= coin->RTramchain.H.data) != 0))) && i < tx->numvouts ) { U = RAMCHAIN_PTR(rdata,Uoffset); P = RAMCHAIN_PTR(rdata,Poffset);