mirror of
https://github.com/XRPLF/clio.git
synced 2026-04-29 15:37:53 +00:00
Change ledgerInfo and replace with ledgerHeader (#1426)
Fixes [#1396](https://github.com/XRPLF/clio/issues/1396)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user