Merge pull request #5367

63d1ae5 Do all block index writes in a batch (Pieter Wuille)
This commit is contained in:
Wladimir J. van der Laan
2014-12-11 16:14:53 +01:00
4 changed files with 29 additions and 33 deletions

View File

@@ -293,7 +293,7 @@ public:
hashPrev = 0;
}
explicit CDiskBlockIndex(CBlockIndex* pindex) : CBlockIndex(*pindex) {
explicit CDiskBlockIndex(const CBlockIndex* pindex) : CBlockIndex(*pindex) {
hashPrev = (pprev ? pprev->GetBlockHash() : 0);
}