jl777 8 years ago
parent
commit
82ae77d607
  1. 2
      iguana/iguana_spendvectors.c

2
iguana/iguana_spendvectors.c

@ -713,7 +713,7 @@ int32_t iguana_volatilesinit(struct supernet_info *myinfo,struct iguana_info *co
if ( fwrite(&crc,1,sizeof(crc),fp) != sizeof(crc) || fwrite(&balancehash,1,sizeof(balancehash),fp) != sizeof(balancehash) || fwrite(&allbundles,1,sizeof(allbundles),fp) != sizeof(allbundles) )
printf("error writing.(%s)\n",crcfname);
fclose(fp);
if ( coin->longestchain <= coin->bundlescount*coin->chain->bundlesize-coin->chain->minconfirms )
if ( coin->longestchain <= (coin->bundlescount-1)*coin->chain->bundlesize-coin->chain->minconfirms )
{
for (i=0; i<coin->bundlescount-1; i++)
{

Loading…
Cancel
Save