1
0

hardware wallets: handle when label is None

follow-up 56c3de0e1e
This commit is contained in:
SomberNight
2019-11-18 18:13:26 +01:00
parent aa37979100
commit b8e4ce9ba1
2 changed files with 3 additions and 3 deletions

View File

@@ -159,7 +159,7 @@ class HardwareClientBase:
"""True if initialized, False if wiped."""
raise NotImplementedError()
def label(self) -> str:
def label(self) -> Optional[str]:
"""The name given by the user to the device.
Note: labels are shown to the user to help distinguish their devices,