fix(types): int8_t -> uint8_t; -1 -> 255
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user