mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-09 06:50:58 +00:00
fix small issue with GetAddress for non-segwit coins
This commit is contained in:
parent
95db902d28
commit
498d689f98
@ -635,6 +635,8 @@ void fsm_msgGetAddress(GetAddress *msg)
|
|||||||
layoutProgress(_("Computing address"), 0);
|
layoutProgress(_("Computing address"), 0);
|
||||||
if (!compute_address(coin, msg->script_type, node, msg->has_multisig, &msg->multisig, resp->address)) {
|
if (!compute_address(coin, msg->script_type, node, msg->has_multisig, &msg->multisig, resp->address)) {
|
||||||
fsm_sendFailure(FailureType_Failure_DataError, _("Can't encode address"));
|
fsm_sendFailure(FailureType_Failure_DataError, _("Can't encode address"));
|
||||||
|
layoutHome();
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (msg->has_show_display && msg->show_display) {
|
if (msg->has_show_display && msg->show_display) {
|
||||||
|
Loading…
Reference in New Issue
Block a user