1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-02 19:40:57 +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 df479adbe7
commit 2b401f48f8

View File

@ -1389,12 +1389,14 @@ static bool signing_add_input(TxInputType *txinput) {
return false;
}
if (!foreign_address_confirmed) {
if (!fsm_layoutPathWarning()) {
signing_abort();
return false;
}
foreign_address_confirmed = true;
}
}
if (!fill_input_script_pubkey(coin, &root, txinput)) {
fsm_sendFailure(FailureType_Failure_ProcessError,