aboutsummaryrefslogtreecommitdiff
path: root/src/chain.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-12-11 16:14:53 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2014-12-11 16:15:34 +0100
commitdcc1304426ae4859c05d32364b8fd9e5c03d7408 (patch)
treed6e2aee66f87b0bb0ca2ae143f02683ea3aa46f5 /src/chain.h
parentd7492304e9b92b755c0bdafb9805bdca66dae94a (diff)
parent63d1ae5556ea40dde0cca20addda4bba40005496 (diff)
Merge pull request #5367
63d1ae5 Do all block index writes in a batch (Pieter Wuille)
Diffstat (limited to 'src/chain.h')
-rw-r--r--src/chain.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chain.h b/src/chain.h
index d834790f06..1c2d89933b 100644
--- a/src/chain.h
+++ b/src/chain.h
@@ -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);
}