Browse Source

Read hashReserved from disk. Blocks were mined lately with this field set to blockheight.

pull/98/head
FireMartZ 6 years ago
parent
commit
aeda8a9faa
  1. 1
      src/txdb.cpp

1
src/txdb.cpp

@ -304,6 +304,7 @@ bool CBlockTreeDB::LoadBlockIndexGuts()
pindexNew->hashAnchor = diskindex.hashAnchor;
pindexNew->nVersion = diskindex.nVersion;
pindexNew->hashMerkleRoot = diskindex.hashMerkleRoot;
pindexNew->hashReserved = diskindex.hashReserved;
pindexNew->nTime = diskindex.nTime;
pindexNew->nBits = diskindex.nBits;
pindexNew->nNonce = diskindex.nNonce;

Loading…
Cancel
Save