Change ledgerInfo and replace with ledgerHeader (#1426)

Fixes [#1396](https://github.com/XRPLF/clio/issues/1396)
This commit is contained in:
Peter Chen
2024-06-03 13:11:31 -04:00
committed by GitHub
parent 55b8134e6d
commit 967b85ca33
68 changed files with 687 additions and 663 deletions

View File

@@ -46,9 +46,9 @@ binaryStringToUint256(std::string const& bin)
}
std::string
ledgerInfoToBinaryString(ripple::LedgerInfo const& info)
ledgerHeaderToBinaryString(ripple::LedgerHeader const& info)
{
auto const blob = rpc::ledgerInfoToBlob(info, true);
auto const blob = rpc::ledgerHeaderToBlob(info, true);
std::string strBlob;
for (auto c : blob)
strBlob += c;