1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 07:28:10 +00:00

fix: address feedback concerning a possible regression from previous

This commit is contained in:
Jack 2024-11-20 12:34:35 -09:00
parent f160812102
commit 2915d6e6be

View File

@ -574,7 +574,8 @@ bool coin_path_check(const CoinInfo *coin, InputScriptType script_type,
valid = valid && has_multisig; valid = valid && has_multisig;
if (full_check) { if (full_check) {
valid = valid && (script_type == InputScriptType_SPENDMULTISIG || valid = valid && (script_type == InputScriptType_SPENDADDRESS ||
script_type == InputScriptType_SPENDMULTISIG ||
script_type == InputScriptType_SPENDWITNESS); script_type == InputScriptType_SPENDWITNESS);
valid = valid && has_multisig; valid = valid && has_multisig;
} }