Skip to content

Commit

Permalink
ルートノードの自分自身への循環が検知できてなかった。
Browse files Browse the repository at this point in the history
  • Loading branch information
plonk committed Jan 1, 2024
1 parent daf4376 commit 9b803e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/common/hostgraph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ json::array_t HostGraph::getRelayTree()

for (ID& root : m_children[kNullID])
{
result.push_back(toRelayTree(root, {}));
result.push_back(toRelayTree(root, {root}));
}
return result;
}

0 comments on commit 9b803e6

Please sign in to comment.