From 6bee20eb8b115cedc735af1a147dc06a1c0f1f89 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 7 Mar 2016 21:37:57 -0300 Subject: [PATCH] test --- iguana/iguana_scripts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/iguana_scripts.c b/iguana/iguana_scripts.c index 9b701f31d..71c793a9b 100755 --- a/iguana/iguana_scripts.c +++ b/iguana/iguana_scripts.c @@ -684,7 +684,7 @@ int32_t bitcoin_scriptget(struct iguana_info *coin,int32_t *hashtypep,int32_t *s j = n = 0; *suffixp = *pubkeysizep = 0; *hashtypep = SIGHASH_ALL; - while ( (siglen= scriptsig[n]) >= 70 && siglen <= 73 && n+siglen+1 < len && j < 16 ) + while ( (siglen= scriptsig[n]) >= 70 && siglen <= 73 && n+siglen < len && j < 16 ) { vp->signers[j].siglen = siglen; memcpy(vp->signers[j].sig,&scriptsig[n+1],siglen);