jl777 8 years ago
parent
commit
9c10559976
  1. 2
      iguana/iguana_sign.c

2
iguana/iguana_sign.c

@ -371,7 +371,7 @@ int32_t iguana_parsevinobj(struct supernet_info *myinfo,struct iguana_info *coin
len += iguana_rwnum(rwflag,&serialized[len],sizeof(vin->sequence),&vin->sequence);
if ( spendstr != 0 )
{
if ( vin->spendlen == 0 )
if ( vin->spendlen == 0 && vin->spendscript != 0 )
{
vin->spendlen = (int32_t)strlen(spendstr) >> 1;
decode_hex(vin->spendscript,vin->spendlen,spendstr);

Loading…
Cancel
Save