diff --git a/iguana/iguana_ramchain.c b/iguana/iguana_ramchain.c index 6e21e604b..a74a9a65f 100755 --- a/iguana/iguana_ramchain.c +++ b/iguana/iguana_ramchain.c @@ -1957,7 +1957,6 @@ int32_t iguana_ramchain_scriptspace(struct iguana_info *coin,int32_t *sigspacep, if ( (scriptdata= iguana_scriptptr(coin,&scriptlen,_script,S[spendind].scriptfpos,S[spendind].vinscript,S[spendind].vinscriptlen,sizeof(S[spendind].vinscript),1)) != 0 ) { iguana_vinscriptparse(coin,&V,&sigsize,&pubkeysize,&p2shsize,&suffixlen,scriptdata,scriptlen); - scriptspace += tx->numvins * 16; // for metascripts p2shspace += p2shsize; if ( sequence != 0 && sequence != 0xffffffff && sequence != 0xfffffffe ) scriptspace += sizeof(sequence); @@ -1966,9 +1965,10 @@ int32_t iguana_ramchain_scriptspace(struct iguana_info *coin,int32_t *sigspacep, } } } + scriptspace += tx->numvins * 16; // for metascripts } *sigspacep = sigspace, *pubkeyspacep = pubkeyspace; - printf("scriptspace.%d p2shspace.%d sigspace.%d pubkeyspace.%d\n",scriptspace,p2shspace,sigspace,pubkeyspace); + printf("numvouts.%d numvins.%d scriptspace.%d p2shspace.%d sigspace.%d pubkeyspace.%d\n",tx->numvouts,tx->numvins,scriptspace,p2shspace,sigspace,pubkeyspace); return(scriptspace + p2shspace); } diff --git a/iguana/iguana_recv.c b/iguana/iguana_recv.c index 589e9fd38..f490fb6ef 100755 --- a/iguana/iguana_recv.c +++ b/iguana/iguana_recv.c @@ -675,7 +675,6 @@ int32_t iguana_processbundlesQ(struct iguana_info *coin,int32_t *newhwmp) // sin } else printf("iguana_updatebundles unknown type.%c\n",req->type); flag++; - fprintf(stderr,"done %s bundlesQ.%p type.%c n.%d\n",req->addr != 0 ? req->addr->ipaddr : "0",req,req->type,req->n); if ( req != 0 ) myfree(req,req->allocsize), req = 0; }