From 0ea80111b07ad8a53336043bd38381cc4be41613 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 18 Sep 2016 09:09:34 -0300 Subject: [PATCH] test --- iguana/iguana_ramchain.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/iguana/iguana_ramchain.c b/iguana/iguana_ramchain.c index 43b51ce04..08016d754 100755 --- a/iguana/iguana_ramchain.c +++ b/iguana/iguana_ramchain.c @@ -1875,6 +1875,11 @@ long iguana_ramchain_data(struct iguana_info *coin,struct iguana_peer *addr,stru { tx = &txarray[i]; iguana_ramchain_addtxid(coin,RAMCHAIN_ARG,tx->txid,tx->tx_out,tx->tx_in,tx->lock_time,tx->version,tx->timestamp,bundlei); + if ( tx->tx_out == 0 && tx->tx_in == 0 ) + { + printf("strange tx without any inputs or outputs? ht.%d\n",bp->bundleheight); + break; + } for (j=0; jtx_out; j++) { memset(rmd160,0,sizeof(rmd160));