Fix getchaintips rpc crash. Thanks mike tout!!
This commit is contained in:
@@ -1853,7 +1853,6 @@ UniValue getchaintips(const UniValue& params, bool fHelp)
|
||||
|
||||
/* Construct the output array. */
|
||||
UniValue res(UniValue::VARR); const CBlockIndex *forked;
|
||||
BOOST_FOREACH(const CBlockIndex* block, setTips)
|
||||
BOOST_FOREACH(const CBlockIndex* block, setTips)
|
||||
{
|
||||
UniValue obj(UniValue::VOBJ);
|
||||
|
||||
Reference in New Issue
Block a user