mirror of
https://github.com/XRPLF/clio.git
synced 2026-06-08 11:16:45 +00:00
chore: Use libxrpl 3.2.0 (#3095)
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
std::string
|
||||
hexStringToBinaryString(std::string const& hex)
|
||||
{
|
||||
auto const blob = ripple::strUnHex(hex);
|
||||
auto const blob = xrpl::strUnHex(hex);
|
||||
std::string strBlob;
|
||||
|
||||
for (auto c : *blob)
|
||||
@@ -39,14 +39,14 @@ hexStringToBinaryString(std::string const& hex)
|
||||
return strBlob;
|
||||
}
|
||||
|
||||
ripple::uint256
|
||||
xrpl::uint256
|
||||
binaryStringToUint256(std::string const& bin)
|
||||
{
|
||||
return ripple::uint256::fromVoid(static_cast<void const*>(bin.data()));
|
||||
return xrpl::uint256::fromVoid(static_cast<void const*>(bin.data()));
|
||||
}
|
||||
|
||||
std::string
|
||||
ledgerHeaderToBinaryString(ripple::LedgerHeader const& info)
|
||||
ledgerHeaderToBinaryString(xrpl::LedgerHeader const& info)
|
||||
{
|
||||
auto const blob = rpc::ledgerHeaderToBlob(info, true);
|
||||
std::string strBlob;
|
||||
|
||||
Reference in New Issue
Block a user