hardware wallets: better handle label collision when selecting device
related: #5759
This commit is contained in:
@@ -160,7 +160,12 @@ class HardwareClientBase:
|
||||
raise NotImplementedError()
|
||||
|
||||
def label(self) -> str:
|
||||
"""The name given by the user to the device."""
|
||||
"""The name given by the user to the device.
|
||||
|
||||
Note: labels are shown to the user to help distinguish their devices,
|
||||
and they are also used as a fallback to distinguish devices programmatically.
|
||||
So ideally, different devices would have different labels.
|
||||
"""
|
||||
raise NotImplementedError()
|
||||
|
||||
def has_usable_connection_with_device(self) -> bool:
|
||||
|
||||
Reference in New Issue
Block a user