chore: update libxrpl (#2186)

This commit is contained in:
Peter Chen
2025-06-06 10:25:21 -04:00
committed by GitHub
parent 4994f9db92
commit ed47db7d39
6 changed files with 19 additions and 11 deletions

View File

@@ -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>