Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
cd0b637139
  1. 5
      iguana/iguana_tx.c

5
iguana/iguana_tx.c

@ -86,15 +86,16 @@ int32_t iguana_voutset(struct iguana_info *coin,uint8_t *scriptspace,char *asmst
else scriptlen = u->scriptlen;
fclose(fp);
} else err++;
//if ( err != 0 )
if ( err != 0 )
printf("error.%d %d bytes from fileid.%d[%d] %s for u%d type.%d\n",err,u->scriptlen,u->fileid,u->scriptpos,fname,unspentind,u->type);
}
else
{
memset(&V,0,sizeof(V));
scriptlen = iguana_scriptgen(coin,&V.M,&V.N,coinaddr,scriptspace,asmstr,p->rmd160,u->type,(const struct vin_info *)&V,i);
printf("scriptlen.%d type.%d\n",scriptlen,u->type);
}
}
} else printf("iguana_voutset unexpected path\n");
vout->pk_scriptlen = scriptlen;
if ( err != 0 )
return(-err);

Loading…
Cancel
Save