This commit is contained in:
jl777
2018-09-21 20:34:54 -11:00
parent a4602c8956
commit 4eafa6062d

View File

@@ -1432,7 +1432,6 @@ UniValue getchaintips(const UniValue& params, bool fHelp)
if (pprev) if (pprev)
setTips.erase(pprev); setTips.erase(pprev);
} }
}
// Always report the currently active tip. // Always report the currently active tip.
setTips.insert(chainActive.LastTip()); setTips.insert(chainActive.LastTip());
@@ -1474,7 +1473,7 @@ UniValue getchaintips(const UniValue& params, bool fHelp)
} }
res.push_back(obj); res.push_back(obj);
} }
}
return res; return res;
} }