mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
When pathfinding, don't output a redundant account node
This commit is contained in:
@@ -195,6 +195,16 @@ public:
|
||||
return mPath.front ();
|
||||
}
|
||||
|
||||
STPathElement& operator[](int i)
|
||||
{
|
||||
return mPath[i];
|
||||
}
|
||||
|
||||
const STPathElement& operator[](int i) const
|
||||
{
|
||||
return mPath[i];
|
||||
}
|
||||
|
||||
private:
|
||||
std::vector<STPathElement> mPath;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user