aboutsummaryrefslogtreecommitdiff
path: root/src/rpcprotocol.cpp
diff options
context:
space:
mode:
authorDaniel Kraft <[email protected]>2014-10-24 16:13:41 +0200
committerDaniel Kraft <[email protected]>2014-10-24 16:13:41 +0200
commita31e8bad53e44629b26e7f36e0431b9fa01c1ed6 (patch)
treeba360bbcb5471fbc049dc1e0abe225e683baa6f7 /src/rpcprotocol.cpp
parentMerge pull request #5128 (diff)
downloaddiscoin-a31e8bad53e44629b26e7f36e0431b9fa01c1ed6.tar.xz
discoin-a31e8bad53e44629b26e7f36e0431b9fa01c1ed6.zip
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/rpcprotocol.cpp')
0 files changed, 0 insertions, 0 deletions