1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-13 19:18:56 +00:00

get public_node doesn't use coin param anymore

This commit is contained in:
Pavol Rusnak 2014-03-03 15:56:32 +01:00
parent 006812a0b3
commit 3cd07c4dea

3
cmd.py
View File

@ -102,7 +102,7 @@ class Commands(object):
def get_public_node(self, args):
address_n = self.client.expand_path(args.n)
return self.client.get_public_node(args.coin, address_n)
return self.client.get_public_node(address_n)
def set_label(self, args):
return self.client.apply_settings(label=args.label)
@ -241,7 +241,6 @@ class Commands(object):
)
get_public_node.arguments = (
(('-c', '--coin'), {'type': str, 'default': 'Bitcoin'}),
(('-n', '-address'), {'type': str}),
)