Make CBlockIndex* returned by GetDepthInMainChain const.
authorDaniel Kraft <d@domob.eu>
Fri, 24 Oct 2014 14:13:41 +0000 (16:13 +0200)
committerDaniel Kraft <d@domob.eu>
Fri, 24 Oct 2014 14:13:41 +0000 (16:13 +0200)
commita31e8bad53e44629b26e7f36e0431b9fa01c1ed6
treeba360bbcb5471fbc049dc1e0abe225e683baa6f7
parent3552d4b859d56726cd25baa6f1e5988050bdad33
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.
src/wallet.cpp
src/wallet.h
This page took 0.025988 seconds and 4 git commands to generate.