mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-14 03:30:02 +00:00
reset: don't show internal entropy when skip_backup is set
This commit is contained in:
parent
b0e879b30e
commit
96cf9e9065
@ -44,7 +44,7 @@ void reset_init(bool display_random, uint32_t _strength, bool passphrase_protect
|
||||
skip_backup = _skip_backup;
|
||||
no_backup = _no_backup;
|
||||
|
||||
if (display_random && no_backup) {
|
||||
if (display_random && (skip_backup || no_backup)) {
|
||||
fsm_sendFailure(FailureType_Failure_ProcessError, "Can't show internal entropy when no_backup is used");
|
||||
layoutHome();
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user