From 8586b228def58be843a32c512cbab7d0154113ad Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 10 Mar 2016 10:29:36 -0300 Subject: [PATCH] test --- iguana/iguana_ramchain.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/iguana/iguana_ramchain.c b/iguana/iguana_ramchain.c index 6d1b219e4..215da4ea7 100755 --- a/iguana/iguana_ramchain.c +++ b/iguana/iguana_ramchain.c @@ -1000,14 +1000,15 @@ 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; + static long errlen,err2len; char errbuf[1024]; errlen += vinscriptlen; if ( iguana_metascript(coin,RAMCHAIN_ARG,s,vinscript,vinscriptlen,sequence,1) < 0 ) { err2len += vinscriptlen; + errbuf[0] = 0; for (i=0; ihdrsi = hdrsi;