mirror of
https://github.com/XRPLF/clio.git
synced 2026-04-29 15:37:53 +00:00
chore: update libxrpl (#2186)
This commit is contained in:
@@ -1338,7 +1338,7 @@ parseBook(ripple::Currency pays, ripple::AccountID payIssuer, ripple::Currency g
|
||||
if (pays == gets && payIssuer == getIssuer)
|
||||
return std::unexpected{Status{RippledError::rpcBAD_MARKET, "badMarket"}};
|
||||
|
||||
return ripple::Book{{pays, payIssuer}, {gets, getIssuer}};
|
||||
return ripple::Book{{pays, payIssuer}, {gets, getIssuer}, std::nullopt};
|
||||
}
|
||||
|
||||
std::expected<ripple::Book, Status>
|
||||
@@ -1446,7 +1446,7 @@ parseBook(boost::json::object const& request)
|
||||
if (payCurrency == getCurrency && payIssuer == getIssuer)
|
||||
return std::unexpected{Status{RippledError::rpcBAD_MARKET, "badMarket"}};
|
||||
|
||||
return ripple::Book{{payCurrency, payIssuer}, {getCurrency, getIssuer}};
|
||||
return ripple::Book{{payCurrency, payIssuer}, {getCurrency, getIssuer}, std::nullopt};
|
||||
}
|
||||
|
||||
std::expected<ripple::AccountID, Status>
|
||||
|
||||
Reference in New Issue
Block a user