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

[no changelog]
release/22.05
Andrew Kozlik 2 years ago committed by Martin Milata
parent df479adbe7
commit 2b401f48f8

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

Loading…
Cancel
Save