From b47d484386a254e8cd00345e142d86d47db776c0 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 7 Mar 2016 11:43:40 -0300 Subject: [PATCH] test --- iguana/iguana_scripts.c | 1 + 1 file changed, 1 insertion(+) diff --git a/iguana/iguana_scripts.c b/iguana/iguana_scripts.c index 95466de88..f422c7692 100755 --- a/iguana/iguana_scripts.c +++ b/iguana/iguana_scripts.c @@ -812,6 +812,7 @@ long iguana_rwscript(struct iguana_info *coin,int32_t rwflag,void *fileptr,long long scriptpos; struct scriptdata data; uint8_t *script = *scriptptrp; if ( spendflag == 0 && (scriptpos= iguana_scriptstablefind(coin,spendflag,script,*lenp)) != 0 ) return(scriptpos); +return(0); memset(&data,0,sizeof(data)); if ( rwflag != 0 && fp != 0 && fileptr == 0 ) {