mirror of
https://github.com/XRPLF/clio.git
synced 2026-04-29 15:37:53 +00:00
remove parseHex warning in bookOffers
This commit is contained in:
@@ -242,7 +242,11 @@ doBookOffers(
|
||||
if (request.contains("cursor"))
|
||||
{
|
||||
cursor = ripple::uint256{};
|
||||
cursor->parseHex(request.at("cursor").as_string().c_str());
|
||||
if (!cursor->parseHex(request.at("cursor").as_string().c_str()))
|
||||
{
|
||||
response["error"] = "Bad cursor";
|
||||
return response;
|
||||
}
|
||||
}
|
||||
|
||||
auto start = std::chrono::system_clock::now();
|
||||
|
||||
Reference in New Issue
Block a user