remove unused offers code

This commit is contained in:
CJ Cobb
2021-08-06 12:32:06 -04:00
parent 56e81eb1d8
commit ea5f9162b7
11 changed files with 16 additions and 83 deletions

View File

@@ -39,20 +39,15 @@ void
BackendInterface::writeLedgerObject(
std::string&& key,
uint32_t seq,
std::string&& blob,
bool isCreated,
bool isDeleted,
std::optional<ripple::uint256>&& book) const
std::string&& blob) const
{
assert(key.size() == sizeof(rippled::uint256));
ripple::uint256 key256 = ripple::uint256::fromVoid(key.data());
indexer_.addKey(std::move(key256));
doWriteLedgerObject(
std::move(key),
seq,
std::move(blob),
isCreated,
isDeleted,
std::move(book));
std::move(blob));
}
std::optional<LedgerRange>
BackendInterface::hardFetchLedgerRangeNoThrow() const