diff options
author | Daniel Kraft <d@domob.eu> | 2014-10-24 16:13:41 +0200 |
---|---|---|
committer | Daniel Kraft <d@domob.eu> | 2014-10-24 16:13:41 +0200 |
commit | a31e8bad53e44629b26e7f36e0431b9fa01c1ed6 (patch) | |
tree | ba360bbcb5471fbc049dc1e0abe225e683baa6f7 /src/init.h | |
parent | 3552d4b859d56726cd25baa6f1e5988050bdad33 (diff) |
Make CBlockIndex* returned by GetDepthInMainChain const.
Make the CBlockIndex* (optionally) returned by GetDepthInMainChain
const. This prevents accidental modification. The result is for
reading its properties rather than modifying it.
Diffstat (limited to 'src/init.h')
0 files changed, 0 insertions, 0 deletions