mirror of
https://github.com/XRPLF/clio.git
synced 2025-12-06 17:27:58 +00:00
Change ledgerInfo and replace with ledgerHeader (#1426)
Fixes [#1396](https://github.com/XRPLF/clio/issues/1396)
This commit is contained in:
@@ -44,14 +44,14 @@ struct MockBackend : public BackendInterface {
|
||||
}
|
||||
|
||||
MOCK_METHOD(
|
||||
std::optional<ripple::LedgerInfo>,
|
||||
std::optional<ripple::LedgerHeader>,
|
||||
fetchLedgerBySequence,
|
||||
(std::uint32_t const, boost::asio::yield_context),
|
||||
(const, override)
|
||||
);
|
||||
|
||||
MOCK_METHOD(
|
||||
std::optional<ripple::LedgerInfo>,
|
||||
std::optional<ripple::LedgerHeader>,
|
||||
fetchLedgerByHash,
|
||||
(ripple::uint256 const&, boost::asio::yield_context),
|
||||
(const, override)
|
||||
@@ -170,7 +170,7 @@ struct MockBackend : public BackendInterface {
|
||||
|
||||
MOCK_METHOD(std::optional<LedgerRange>, hardFetchLedgerRange, (boost::asio::yield_context), (const, override));
|
||||
|
||||
MOCK_METHOD(void, writeLedger, (ripple::LedgerInfo const&, std::string&&), (override));
|
||||
MOCK_METHOD(void, writeLedger, (ripple::LedgerHeader const&, std::string&&), (override));
|
||||
|
||||
MOCK_METHOD(void, writeLedgerObject, (std::string&&, std::uint32_t const, std::string&&), (override));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user