Skip to content

Commit

Permalink
Remore OP_RETURN input scripts support to free memory
Browse files Browse the repository at this point in the history
  • Loading branch information
timemarkovqtum committed Oct 13, 2023
1 parent f450ec0 commit ab515e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/constants.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit ab515e5

Please sign in to comment.