fix call to protectButton while showing segwit warning

pull/25/head
Pavol Rusnak 8 years ago
parent d70ac623a4
commit dcceec806d
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

@ -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;

Loading…
Cancel
Save