Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
a19ae12b3b
  1. 10
      iguana/iguana_ramchain.c

10
iguana/iguana_ramchain.c

@ -1345,14 +1345,14 @@ int32_t iguana_ramchain_extras(struct iguana_info *coin,struct iguana_ramchain *
ramchain->Uextras = (void *)((long)ramchain->lastspendsfileptr + sizeof(numhdrsi) + sizeof(bits256)); ramchain->Uextras = (void *)((long)ramchain->lastspendsfileptr + sizeof(numhdrsi) + sizeof(bits256));
err = 0; err = 0;
} else printf("ramchain map error2 balanceswritten %d vs %d hashes %x %x\n",coin->balanceswritten,numhdrsi,coin->balancehash.uints[0],balancehash.uints[0]); } else printf("ramchain map error2 balanceswritten %d vs %d hashes %x %x\n",coin->balanceswritten,numhdrsi,coin->balancehash.uints[0],balancehash.uints[0]);
} } else printf("ramchain map error3 %s\n",fname);
} else printf("ramchain map error balanceswritten %d vs %d hashes %x %x\n",coin->balanceswritten,numhdrsi,coin->balancehash.uints[0],balancehash.uints[0]); } else printf("ramchain map error balanceswritten %d vs %d hashes %x %x\n",coin->balanceswritten,numhdrsi,coin->balancehash.uints[0],balancehash.uints[0]);
} }
if ( err == 0 ) if ( err == 0 )
{
printf("mapped extra.%s\n",fname);
break; break;
} }
if ( err != 0 )
{
ramchain->A = 0; ramchain->A = 0;
ramchain->Uextras = 0; ramchain->Uextras = 0;
if ( ramchain->debitsfileptr != 0 ) if ( ramchain->debitsfileptr != 0 )
@ -1367,7 +1367,7 @@ int32_t iguana_ramchain_extras(struct iguana_info *coin,struct iguana_ramchain *
ramchain->lastspendsfileptr = 0; ramchain->lastspendsfileptr = 0;
ramchain->lastspendsfilesize = 0; ramchain->lastspendsfilesize = 0;
} }
} }
} }
} }
return(err); return(err);

Loading…
Cancel
Save