fix last commit

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

@ -674,7 +674,7 @@ void fsm_msgVerifyMessage(VerifyMessage *msg)
}
if (msg->signature.size == 65 && cryptoMessageVerify(msg->message.bytes, msg->message.size, addr_raw, msg->signature.bytes) == 0) {
layoutVerifyAddress(msg->address);
if (!protectButton(ButtonRequestType_ButtonRequest_Address, false)) {
if (!protectButton(ButtonRequestType_ButtonRequest_Other, false)) {
fsm_sendFailure(FailureType_Failure_ActionCancelled, "Message verification cancelled");
layoutHome();
return;

@ -200,8 +200,9 @@ void layoutVerifyAddress(const char *address)
{
const char **str = split_message((const uint8_t *)address, strlen(address), 17);
layoutDialogSwipe(DIALOG_ICON_INFO, "Cancel", "Confirm",
"Confirm address?",
"Address from signature:",
NULL, str[0], str[1], str[2], NULL, NULL);
NULL, str[0], str[1], str[2], NULL);
}
void layoutVerifyMessage(const uint8_t *msg, uint32_t len)

Loading…
Cancel
Save