1
0
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:
Pavol Rusnak 2014-10-30 00:48:06 +01:00
parent 7963db8455
commit d65d7cb855
2 changed files with 44 additions and 36 deletions

View File

@ -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