mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
bug fix for Pathfinder. Drop zero-length paths; prevent them from getting added and avoid pathbuilding errors later
This commit is contained in:
@@ -595,6 +595,9 @@ public:
|
||||
// std::string getText() const;
|
||||
Json::Value getJson(int) const;
|
||||
|
||||
uint160 mCurrencyID;
|
||||
uint160 mCurrentAccount; // what account is at the end of the path
|
||||
|
||||
std::vector<STPathElement>::iterator begin() { return mPath.begin(); }
|
||||
std::vector<STPathElement>::iterator end() { return mPath.end(); }
|
||||
std::vector<STPathElement>::const_iterator begin() const { return mPath.begin(); }
|
||||
|
||||
Reference in New Issue
Block a user