jl777 8 years ago
parent
commit
ab594f2734
  1. 3
      iguana/iguana_ramchain.c

3
iguana/iguana_ramchain.c

@ -1852,7 +1852,6 @@ long iguana_ramchain_data(struct supernet_info *myinfo,struct iguana_info *coin,
} }
fpos = -1; fpos = -1;
iguana_ramchain_link(ramchain,origtxdata->zblock.RO.hash2,bp->hdrsi,bp->bundleheight+bundlei,bundlei,1,firsti,0); iguana_ramchain_link(ramchain,origtxdata->zblock.RO.hash2,bp->hdrsi,bp->bundleheight+bundlei,bundlei,1,firsti,0);
return(-1);
if ( (rdata= ramchain->H.data) != 0 ) if ( (rdata= ramchain->H.data) != 0 )
{ {
_iguana_ramchain_setptrs(RAMCHAIN_PTRS,rdata); _iguana_ramchain_setptrs(RAMCHAIN_PTRS,rdata);
@ -1916,7 +1915,7 @@ return(-1);
} }
else else
{ {
if ( (err= iguana_ramchain_verify(coin,ramchain)) == 0 ) if ( 0 && (err= iguana_ramchain_verify(coin,ramchain)) == 0 )
{ {
iguana_blockzcopyRO(0*coin->chain->zcash,B,0,&RO,0); iguana_blockzcopyRO(0*coin->chain->zcash,B,0,&RO,0);
rdata->scriptspace = ramchain->H.scriptoffset = scriptspace; rdata->scriptspace = ramchain->H.scriptoffset = scriptspace;

Loading…
Cancel
Save