mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-02 02:41:28 +00:00
fsm: don't show progress bar in GetAddress unless multisig is used
This commit is contained in:
parent
1bb068d18f
commit
233f2f1cfd
@ -161,7 +161,9 @@ void fsm_msgGetAddress(GetAddress *msg)
|
||||
hdnode_fill_public_key(node);
|
||||
|
||||
char address[MAX_ADDR_SIZE];
|
||||
layoutProgress(_("Computing address"), 0);
|
||||
if (msg->has_multisig) { // use progress bar only for multisig
|
||||
layoutProgress(_("Computing address"), 0);
|
||||
}
|
||||
if (!compute_address(coin, msg->script_type, node, msg->has_multisig, &msg->multisig, address)) {
|
||||
fsm_sendFailure(FailureType_Failure_DataError, _("Can't encode address"));
|
||||
layoutHome();
|
||||
|
Loading…
Reference in New Issue
Block a user