fuzz: replace hardcoded numbers for bech32 limits

Use bech32::CharLimit::BECH32 and bech32::CHECKSUM_SIZE instead of
hardcoded values. This is a follow-up fix for #34007
(where this file was missed)
This commit is contained in:
josibake
2024-08-06 10:58:04 +02:00
parent 949b673472
commit 59c0ece0a7
3 changed files with 6 additions and 5 deletions

View File

@@ -19,9 +19,6 @@ namespace
typedef std::vector<uint8_t> data;
/** The Bech32 and Bech32m checksum size */
constexpr size_t CHECKSUM_SIZE = 6;
/** The Bech32 and Bech32m character set for encoding. */
const char* CHARSET = "qpzry9x8gf2tvdw0s3jn54khce6mua7l";