diff --git a/contrib/tracing/mempool_monitor.py b/contrib/tracing/mempool_monitor.py index ddba9d041ff..c5f672fb954 100755 --- a/contrib/tracing/mempool_monitor.py +++ b/contrib/tracing/mempool_monitor.py @@ -17,9 +17,9 @@ from bcc import BPF, USDT PROGRAM = """ # include -// The longest rejection reason is 118 chars and is generated in case of SCRIPT_ERR_EVAL_FALSE by +// The longest rejection reason is 114 chars and is generated in case of SCRIPT_ERR_EVAL_FALSE by // strprintf("block-script-verify-flag-failed (%s)", ScriptErrorString(check.GetScriptError())) -#define MAX_REJECT_REASON_LENGTH 118 +#define MAX_REJECT_REASON_LENGTH 114 // The longest string returned by RemovalReasonToString() is 'sizelimit' #define MAX_REMOVAL_REASON_LENGTH 9 #define HASH_LENGTH 32