Test
This commit is contained in:
@@ -1410,6 +1410,7 @@ UniValue getchaintips(const UniValue& params, bool fHelp)
|
||||
+ HelpExampleRpc("getchaintips", "")
|
||||
);
|
||||
|
||||
{
|
||||
LOCK(cs_main);
|
||||
|
||||
/* Build up a list of chain tips. We start with the list of all
|
||||
@@ -1431,7 +1432,7 @@ UniValue getchaintips(const UniValue& params, bool fHelp)
|
||||
if (pprev)
|
||||
setTips.erase(pprev);
|
||||
}
|
||||
|
||||
}
|
||||
// Always report the currently active tip.
|
||||
setTips.insert(chainActive.LastTip());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user