mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-16 11:28:14 +00:00
decrypt_keyvalue in cmdtr.py takes value in hex from command line
This commit is contained in:
parent
a2a5b6a460
commit
30dcccf12f
2
cmdtr.py
2
cmdtr.py
@ -174,7 +174,7 @@ class Commands(object):
|
||||
|
||||
def decrypt_keyvalue(self, args):
|
||||
address_n = self.client.expand_path(args.n)
|
||||
ret = self.client.decrypt_keyvalue(address_n, args.key, args.value)
|
||||
ret = self.client.decrypt_keyvalue(address_n, args.key, args.value.decode("hex"))
|
||||
return ret
|
||||
|
||||
def firmware_update(self, args):
|
||||
|
Loading…
Reference in New Issue
Block a user