Merge pull request #5367
63d1ae5 Do all block index writes in a batch (Pieter Wuille)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user