From 1c07777e135d28fffa157019f90ccdaa002b614e Mon Sep 17 00:00:00 2001 From: SomberNight Date: Thu, 5 Nov 2020 03:10:06 +0100 Subject: [PATCH] follow-up prev ah, forgot to commit this file --- electrum/wallet.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/electrum/wallet.py b/electrum/wallet.py index d13b6e2ea..d976a001c 100644 --- a/electrum/wallet.py +++ b/electrum/wallet.py @@ -1950,7 +1950,11 @@ class Abstract_Wallet(AddressSynchronizer, ABC): return out @abstractmethod - def get_fingerprint(self): + def get_fingerprint(self) -> str: + """Returns a string that can be used to identify this wallet. + Used e.g. by Labels plugin, and LN channel backups. + Returns empty string "" for wallets that don't have an ID. + """ pass def can_import_privkey(self):