mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-04 11:51:50 +00:00
get public_node doesn't use coin param anymore
This commit is contained in:
parent
006812a0b3
commit
3cd07c4dea
3
cmd.py
3
cmd.py
@ -102,7 +102,7 @@ class Commands(object):
|
|||||||
|
|
||||||
def get_public_node(self, args):
|
def get_public_node(self, args):
|
||||||
address_n = self.client.expand_path(args.n)
|
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):
|
def set_label(self, args):
|
||||||
return self.client.apply_settings(label=args.label)
|
return self.client.apply_settings(label=args.label)
|
||||||
@ -241,7 +241,6 @@ class Commands(object):
|
|||||||
)
|
)
|
||||||
|
|
||||||
get_public_node.arguments = (
|
get_public_node.arguments = (
|
||||||
(('-c', '--coin'), {'type': str, 'default': 'Bitcoin'}),
|
|
||||||
(('-n', '-address'), {'type': str}),
|
(('-n', '-address'), {'type': str}),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user