mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-19 13:27:35 +02:00
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:
parent
949b673472
commit
59c0ece0a7
3 changed files with 6 additions and 5 deletions
|
|
@ -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";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue