mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-29 23:45:51 +00:00
Another DR106 fix.
This commit is contained in:
@@ -794,7 +794,11 @@ bool Pathfinder::matchesOrigin(const uint160& currency, const uint160& issuer)
|
|||||||
int Pathfinder::getPathsOut(const uint160& currencyID, const uint160& accountID,
|
int Pathfinder::getPathsOut(const uint160& currencyID, const uint160& accountID,
|
||||||
bool authRequired, bool isDstCurrency, const uint160& dstAccount)
|
bool authRequired, bool isDstCurrency, const uint160& dstAccount)
|
||||||
{
|
{
|
||||||
|
#ifdef C11X
|
||||||
std::pair<const uint160&, const uint160&> accountCurrency(currencyID, accountID);
|
std::pair<const uint160&, const uint160&> accountCurrency(currencyID, accountID);
|
||||||
|
#else
|
||||||
|
std::pair<uint160, uint160> accountCurrency(currencyID, accountID);
|
||||||
|
#endif
|
||||||
boost::unordered_map<std::pair<uint160, uint160>, int>::iterator it = mPOMap.find(accountCurrency);
|
boost::unordered_map<std::pair<uint160, uint160>, int>::iterator it = mPOMap.find(accountCurrency);
|
||||||
if (it != mPOMap.end())
|
if (it != mPOMap.end())
|
||||||
return it->second;
|
return it->second;
|
||||||
|
|||||||
Reference in New Issue
Block a user