From c64bbf8872d353a167b018ce6f65acbdceaf2710 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 10 Mar 2016 10:27:28 -0300 Subject: [PATCH] test --- iguana/iguana_ramchain.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/iguana/iguana_ramchain.c b/iguana/iguana_ramchain.c index 6e52fc67f..6d1b219e4 100755 --- a/iguana/iguana_ramchain.c +++ b/iguana/iguana_ramchain.c @@ -1000,11 +1000,14 @@ uint32_t iguana_ramchain_addspend(struct iguana_info *coin,RAMCHAIN_FUNC,bits256 s->prevout = prev_vout; if ( iguana_metascript(coin,RAMCHAIN_ARG,s,vinscript,vinscriptlen,sequence,0) < 0 ) { + static long errlen,err2len; + errlen += vinscriptlen; if ( iguana_metascript(coin,RAMCHAIN_ARG,s,vinscript,vinscriptlen,sequence,1) < 0 ) { + err2len += vinscriptlen; for (i=0; ihdrsi = hdrsi;