-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #325 from keepkey/typed-data-mhash
fixed a couple of confirm bugs for eip-712
- Loading branch information
Showing
2 changed files
with
16 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* This file is part of the TREZOR project. | ||
* This file is part of the KeepKey project. | ||
* | ||
* Copyright (C) 2022 markrypto <[email protected]> | ||
* Copyright (C) 2016 Alex Beregszaszi <[email protected]> | ||
|
@@ -1068,7 +1068,7 @@ void ethereum_typed_hash_sign(const EthereumSignTypedHash *msg, | |
uint8_t v = 0; | ||
if (0 != eip712_sign(msg->domain_separator_hash.bytes, msg->message_hash.bytes, | ||
msg->has_message_hash, node, &v, resp->signature.bytes)) { | ||
fsm_sendFailure(FailureType_Failure_Other, _("EIP-712 typed hash signing failed")); | ||
fsm_sendFailure(FailureType_Failure_Other, _("EIP-712 hash signing failed")); | ||
return; | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters