mirror of
https://github.com/XRPLF/clio.git
synced 2026-07-24 07:30:25 +00:00
chore: Update libxrpl to 3.2.0 (#3114)
This commit is contained in:
@@ -11,7 +11,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) // NOLINT(bugprone-unchecked-optional-access)
|
||||
@@ -20,14 +20,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