electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 1c07777e135d28fffa157019f90ccdaa002b614e
parent c616c3bfad6954e39192e24d9e1695822209bcb6
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:
Melectrum/wallet.py | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git 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):