diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2014-11-25 16:26:20 +0100 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2014-11-25 16:26:35 +0100 |
commit | 63d1ae5556ea40dde0cca20addda4bba40005496 (patch) | |
tree | 84300b58849b139c71381704d54f640ffff694f7 /src/chain.h | |
parent | ac0b2393a447bb20f8b0489a67237c98a1cfff4a (diff) |
Do all block index writes in a batch
Diffstat (limited to 'src/chain.h')
-rw-r--r-- | src/chain.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chain.h b/src/chain.h index c01240665d..e76d5a3d9a 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); } |