From 50154f24b304cd5e3e58782d61ac37c1915cb31a Mon Sep 17 00:00:00 2001 From: scgbckbone Date: Sat, 13 Dec 2025 17:21:28 +0100 Subject: [PATCH] increase MSG_SIGNING_MAX_LENGTH from 240 to 512 characters --- ckcc/constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ckcc/constants.py b/ckcc/constants.py index fa20b14..429b0e1 100644 --- a/ckcc/constants.py +++ b/ckcc/constants.py @@ -41,7 +41,7 @@ MAX_UPLOAD_LEN_MK4 = const(2*MAX_TXN_LEN_MK4) # Max length of text messages for signing -MSG_SIGNING_MAX_LENGTH = const(240) +MSG_SIGNING_MAX_LENGTH = const(512) # Bitcoin limitation: max number of signatures in P2SH redeem script (non-segwit) # - 520 byte redeem script limit <= 15*34 bytes per pubkey == 510 bytes