mirror of
https://github.com/XRPLF/clio.git
synced 2025-12-05 16:58:00 +00:00
Order book offers by quality
This commit is contained in:
@@ -73,10 +73,6 @@ getBook(T const& offer)
|
||||
ripple::SerialIter it{offer.data(), offer.size()};
|
||||
ripple::SLE sle{it, {}};
|
||||
ripple::uint256 book = sle.getFieldH256(ripple::sfBookDirectory);
|
||||
for (size_t i = 0; i < 8; ++i)
|
||||
{
|
||||
book.data()[book.size() - 1 - i] = 0x00;
|
||||
}
|
||||
return book;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user