mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-23 16:08:17 +00:00
send failure when reset workflow is aborted (this sends features when it was aborted by initialize message)
This commit is contained in:
parent
3ce756b692
commit
633024a993
@ -143,6 +143,7 @@ void reset_entropy(const uint8_t *ext_entropy, uint32_t len)
|
||||
if (!protectButton(ButtonRequestType_ButtonRequest_ConfirmWord, true)) {
|
||||
storage_reset();
|
||||
layoutHome();
|
||||
fsm_sendFailure(FailureType_Failure_Other, "Reset device aborted");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user