Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
c74430fa54
  1. 3
      iguana/iguana_ramchain.c

3
iguana/iguana_ramchain.c

@ -2064,7 +2064,6 @@ int32_t iguana_ramchain_scriptspace(struct iguana_info *coin,int32_t *sigspacep,
int32_t j,scriptlen; struct vin_info V;
uint32_t sequence,p2shspace,altspace,sigspace,pubkeyspace,spendind,unspentind,p2shsize,pubkeysize,sigsize,scriptspace,suffixlen;
struct iguana_txid *tx; struct iguana_ramchaindata *rdata; uint8_t *scriptdata;
return(0);
_iguana_ramchain_setptrs(RAMCHAIN_PTRS,ramchain->H.data);
*sigspacep = *pubkeyspacep = altspace = 0;
if ( (rdata= ramchain->H.data) == 0 || ramchain->expanded != 0 )
@ -2088,7 +2087,7 @@ int32_t iguana_ramchain_scriptspace(struct iguana_info *coin,int32_t *sigspacep,
{
sequence = S[spendind].sequenceid;
scriptlen = S[spendind].vinscriptlen;
if ( S[spendind].scriptoffset != 0 && S[spendind].scriptoffset+scriptlen < ramchain->H.data->scriptspace )
if ( 0 && S[spendind].scriptoffset != 0 && S[spendind].scriptoffset+scriptlen < ramchain->H.data->scriptspace )
{
scriptdata = &Kspace[S[spendind].scriptoffset];
altspace += scriptlen;

Loading…
Cancel
Save