mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-30 08:51:32 +00:00
Format of message hash to match Ledger
On signing SHA256 of message is shown on Ledger in caps. Make Electrum show in same format to save confusion.
This commit is contained in:
parent
19ba2364b6
commit
ed86fee3fe
1 changed files with 1 additions and 1 deletions
|
@ -220,7 +220,7 @@ class Ledger_KeyStore(Hardware_KeyStore):
|
|||
def sign_message(self, sequence, message, password):
|
||||
self.signing = True
|
||||
message = message.encode('utf8')
|
||||
message_hash = hashlib.sha256(message).hexdigest()
|
||||
message_hash = hashlib.sha256(message).hexdigest().upper()
|
||||
# prompt for the PIN before displaying the dialog if necessary
|
||||
client = self.get_client()
|
||||
address_path = self.get_derivation()[2:] + "/%d/%d"%sequence
|
||||
|
|
Loading…
Add table
Reference in a new issue