whitelist: fix SECP256K1_WHITELIST_MAX_N_KEYS constant

"MAX" should mean inclusive. And the whitelisting functions handled this
inconsistently.
This commit is contained in:
Jonas Nick
2021-10-06 10:39:46 +00:00
parent e290c0f835
commit c8ac14d9dc
2 changed files with 2 additions and 2 deletions

View File

@@ -13,7 +13,7 @@
extern "C" {
#endif
#define SECP256K1_WHITELIST_MAX_N_KEYS 256
#define SECP256K1_WHITELIST_MAX_N_KEYS 255
/** Opaque data structure that holds a parsed whitelist proof
*