mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-13 19:18:56 +00:00
Added coin_type to sign_message
This commit is contained in:
parent
f6845089d5
commit
80aabfaa0f
3
cmd.py
3
cmd.py
@ -135,7 +135,7 @@ class Commands(object):
|
||||
args.pin_protection, args.label, 'english')
|
||||
|
||||
def sign_message(self, args):
|
||||
ret = self.client.sign_message(args.n, args.message)
|
||||
ret = self.client.sign_message(args.coin, args.n, args.message)
|
||||
output = {
|
||||
'message': args.message,
|
||||
'address': ret.address,
|
||||
@ -226,6 +226,7 @@ class Commands(object):
|
||||
)
|
||||
|
||||
sign_message.arguments = (
|
||||
(('-c', '--coin'), {'type': str, 'default': 'Bitcoin'}),
|
||||
(('n',), {'metavar': 'N', 'type': int, 'nargs': '+'}),
|
||||
(('message',), {'type': str}),
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user