mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-15 09:50:57 +00:00
update protobuf
This commit is contained in:
parent
7963db8455
commit
d65d7cb855
@ -432,8 +432,9 @@ class ProtocolMixin(object):
|
||||
|
||||
@field('payload')
|
||||
@expect(proto.Success)
|
||||
def encrypt_message(self, pubkey, message, display_only):
|
||||
return self.call(proto.EncryptMessage(pubkey=pubkey, message=message, display_only=display_only))
|
||||
def encrypt_message(self, pubkey, message, display_only, coin_name, n):
|
||||
n = self._convert_prime(n)
|
||||
return self.call(proto.EncryptMessage(pubkey=pubkey, message=message, display_only=display_only, coin_name=coin_name, address_n=n))
|
||||
|
||||
@field('payload')
|
||||
@expect(proto.Success)
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user