From 7e7bb481a81e634edac46c44fa1bb6e14673ddcf Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 18 Sep 2016 10:49:02 -0300 Subject: [PATCH] test --- iguana/iguana_ramchain.c | 2 +- iguana/iguana_recv.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/iguana/iguana_ramchain.c b/iguana/iguana_ramchain.c index 70106f6d0..8e7932505 100755 --- a/iguana/iguana_ramchain.c +++ b/iguana/iguana_ramchain.c @@ -2332,7 +2332,7 @@ struct iguana_ramchain *iguana_bundleload(struct supernet_info *myinfo,struct ig //_iguana_chainlink(coin,block); //wrong context } prev2 = prev, prev = block; - printf("%d ",block->RO.txn_count); + printf("%p.%d ",block,block->RO.txn_count); firsttxidind += block->RO.txn_count; } } diff --git a/iguana/iguana_recv.c b/iguana/iguana_recv.c index 25c18e8a5..b64bfac14 100755 --- a/iguana/iguana_recv.c +++ b/iguana/iguana_recv.c @@ -819,6 +819,7 @@ void iguana_gotblockM(struct supernet_info *myinfo,struct iguana_info *coin,stru if ( block->height < 0 ) block->bundlei = -1; block->txvalid = 1; + block->RO.txn_count = origtxdata->zblock.RO.txn_count; if ( block->fpipbits != 0 && block->fpos >= 0 ) { static int32_t numredundant; static double redundantsize; static uint32_t lastdisp;