mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-01 16:35:53 +00:00
test: Add more test cases for Base58 parser (#5174)
--------- Co-authored-by: John Freeman <jfreeman08@gmail.com>
This commit is contained in:
@@ -177,7 +177,8 @@ inplace_bigint_div_rem(std::span<uint64_t> numerator, std::uint64_t divisor)
|
||||
[[nodiscard]] inline std::array<std::uint8_t, 10>
|
||||
b58_10_to_b58_be(std::uint64_t input)
|
||||
{
|
||||
constexpr std::uint64_t B_58_10 = 430804206899405824; // 58^10;
|
||||
[[maybe_unused]] static constexpr std::uint64_t B_58_10 =
|
||||
430804206899405824; // 58^10;
|
||||
ASSERT(
|
||||
input < B_58_10,
|
||||
"ripple::b58_fast::detail::b58_10_to_b58_be : valid input");
|
||||
|
||||
Reference in New Issue
Block a user