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
1 changed files with 1 additions and 1 deletions

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;