Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
36384b0058
  1. 8
      iguana/iguana_unspents.c

8
iguana/iguana_unspents.c

@ -709,8 +709,12 @@ struct iguana_bundle *iguana_externalspent(struct iguana_info *coin,bits256 *pre
else
{
printf("cant find prev_hash.(%s) for bp.[%d]\n",bits256_str(str,prev_hash),spent_hdrsi);
iguana_bundleremove(coin,spent_hdrsi,1);
exit(-1);
if ( spent_hdrsi < coin->current->hdrsi )
{
iguana_bundleremove(coin,spent_hdrsi,1);
exit(-1);
}
coin->RTdatabad = 1;
return(0);
}
} else printf("external spent unexpected nonz unspentind [%d]\n",spent_hdrsi);

Loading…
Cancel
Save