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

fix call to protectButton while showing segwit warning

This commit is contained in:
Pavol Rusnak 2017-04-11 14:05:19 +02:00
parent d70ac623a4
commit dcceec806d
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -593,7 +593,7 @@ void fsm_msgGetAddress(GetAddress *msg)
if (msg->has_show_display && msg->show_display) {
if (is_segwit) {
layoutSegwitWarning();
if (!protectButton(ButtonRequestType_ButtonRequest_Address, true)) {
if (!protectButton(ButtonRequestType_ButtonRequest_Address, false)) {
fsm_sendFailure(FailureType_Failure_ActionCancelled, "Show address cancelled");
layoutHome();
return;