1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-22 22:38:08 +00:00

fix small issue with GetAddress for non-segwit coins

This commit is contained in:
Pavol Rusnak 2017-07-03 18:23:51 +02:00
parent 95db902d28
commit 498d689f98
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -635,6 +635,8 @@ void fsm_msgGetAddress(GetAddress *msg)
layoutProgress(_("Computing address"), 0);
if (!compute_address(coin, msg->script_type, node, msg->has_multisig, &msg->multisig, resp->address)) {
fsm_sendFailure(FailureType_Failure_DataError, _("Can't encode address"));
layoutHome();
return;
}
if (msg->has_show_display && msg->show_display) {