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:
@@ -140,6 +140,11 @@ struct Amendments {
|
||||
REGISTER(PermissionDelegation);
|
||||
REGISTER(fixPayChanCancelAfter);
|
||||
REGISTER(Batch);
|
||||
REGISTER(PermissionedDEX);
|
||||
REGISTER(SingleAssetVault);
|
||||
REGISTER(TokenEscrow);
|
||||
REGISTER(fixAMMv1_3);
|
||||
REGISTER(fixEnforceNFTokenTrustlineV2);
|
||||
|
||||
// Obsolete but supported by libxrpl
|
||||
REGISTER(CryptoConditionsSuite);
|
||||
|
||||
@@ -277,7 +277,8 @@ TransactionFeed::pub(
|
||||
// determine the OrderBook
|
||||
ripple::Book const book{
|
||||
data->getFieldAmount(ripple::sfTakerGets).issue(),
|
||||
data->getFieldAmount(ripple::sfTakerPays).issue()
|
||||
data->getFieldAmount(ripple::sfTakerPays).issue(),
|
||||
std::nullopt
|
||||
};
|
||||
if (affectedBooks.find(book) == affectedBooks.end()) {
|
||||
affectedBooks.insert(book);
|
||||
|
||||
@@ -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