fix(types): int8_t -> uint8_t; -1 -> 255

This commit is contained in:
2024-09-30 13:10:47 +03:00
parent 1d6b086bfa
commit 7e78bca810
10 changed files with 86 additions and 86 deletions

View File

@ -11,7 +11,7 @@ namespace base58
* @brief bitcoin alphabet
*/
extern const char digits[59];
extern const int8_t map[256];
extern const uint8_t map[256];
bool isValid(const char *str, size_t str_size) noexcept;
bool isValid(std::string_view str) noexcept;