This commit is contained in:
jl777
2017-09-28 22:25:48 +03:00
parent a6df99fc9c
commit 40daca68fd

View File

@@ -1066,7 +1066,7 @@ UniValue getchaintips(const UniValue& params, bool fHelp)
setTips.insert(chainActive.Tip());
/* Construct the output array. */
UniValue res(UniValue::VARR); CBlockIndex *forked;
UniValue res(UniValue::VARR); const CBlockIndex *forked;
BOOST_FOREACH(const CBlockIndex* block, setTips)
{
UniValue obj(UniValue::VOBJ);