diff --git a/src/constants.h b/src/constants.h index 55cd17ef2..855a36199 100644 --- a/src/constants.h +++ b/src/constants.h @@ -33,7 +33,7 @@ * Maximum scriptPubKey length for an output that we can recognize. */ #define MAX_OUTPUT_SCRIPTPUBKEY_LEN 400 // max 393 for contracts; other scripts are shorter -#define MAX_INPUT_SCRIPTPUBKEY_LEN 83 // max 83 for OP_RETURN; other scripts are shorter +#define MAX_INPUT_SCRIPTPUBKEY_LEN 35 // P2PK's scriptPubKeys are the longest supported /** * Maximum length of a wallet registered into the device (characters), excluding terminating NULL.