diff --git a/iguana/iguana_tx.c b/iguana/iguana_tx.c index c1f010c43..2c73af626 100755 --- a/iguana/iguana_tx.c +++ b/iguana/iguana_tx.c @@ -37,6 +37,7 @@ int32_t iguana_scriptdata(struct iguana_info *coin,uint8_t *scriptspace,long fil fseek(fp,scriptpos,SEEK_SET); if ( fread(scriptspace,1,scriptlen,fp) != scriptlen ) retval = -1; + else printf("%s script[%d] offset.%d\n",fname,scriptlen,scriptpos); fclose(fp); } else retval = -1; return(retval); @@ -166,8 +167,8 @@ int32_t iguana_ramtxbytes(struct iguana_info *coin,uint8_t *serialized,int32_t m *txidp = bits256_doublesha256(txidstr,serialized,len); if ( memcmp(txidp,tx->txid.bytes,sizeof(*txidp)) != 0 ) { - //for (i=0; itxid)); return(-1); }