From 2915d6e6be9cbb5f5fa680f31fe249ac0979ca0c Mon Sep 17 00:00:00 2001 From: Jack Date: Wed, 20 Nov 2024 12:34:35 -0900 Subject: [PATCH] fix: address feedback concerning a possible regression from previous --- legacy/firmware/crypto.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/legacy/firmware/crypto.c b/legacy/firmware/crypto.c index 0ac89810da..13ae025f24 100644 --- a/legacy/firmware/crypto.c +++ b/legacy/firmware/crypto.c @@ -574,7 +574,8 @@ bool coin_path_check(const CoinInfo *coin, InputScriptType script_type, valid = valid && has_multisig; if (full_check) { - valid = valid && (script_type == InputScriptType_SPENDMULTISIG || + valid = valid && (script_type == InputScriptType_SPENDADDRESS || + script_type == InputScriptType_SPENDMULTISIG || script_type == InputScriptType_SPENDWITNESS); valid = valid && has_multisig; }