tfollow-up prev - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 1c07777e135d28fffa157019f90ccdaa002b614e
DIR parent c616c3bfad6954e39192e24d9e1695822209bcb6
HTML Author: SomberNight <somber.night@protonmail.com>
Date: Thu, 5 Nov 2020 03:10:06 +0100
follow-up prev
ah, forgot to commit this file
Diffstat:
M electrum/wallet.py | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
DIR diff --git a/electrum/wallet.py b/electrum/wallet.py
t@@ -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):