1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-16 04:29:08 +00:00

feat(legacy): Warn only once about non-standard paths.

[no changelog]
This commit is contained in:
Andrew Kozlik 2022-03-15 15:07:06 +01:00 committed by Martin Milata
parent 64637babad
commit 9719f73185

View File

@ -1340,11 +1340,13 @@ static bool signing_add_input(TxInputType *txinput) {
return false;
}
if (!fsm_layoutPathWarning()) {
signing_abort();
return false;
if (!foreign_address_confirmed) {
if (!fsm_layoutPathWarning()) {
signing_abort();
return false;
}
foreign_address_confirmed = true;
}
foreign_address_confirmed = true;
}
if (!fill_input_script_pubkey(coin, &root, txinput)) {