From f6db5fd77c1afe0cb3b890edda95f18617ba6dec Mon Sep 17 00:00:00 2001 From: SomberNight Date: Fri, 18 Jul 2025 00:09:14 +0000 Subject: [PATCH] keystore: rm unused methods --- electrum/keystore.py | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/electrum/keystore.py b/electrum/keystore.py index 827f06edf..d7458dffd 100644 --- a/electrum/keystore.py +++ b/electrum/keystore.py @@ -707,11 +707,6 @@ class BIP32_KeyStore(Xpub, Deterministic_KeyStore): pk = node.eckey.get_secret_bytes() return pk, True - def get_keypair(self, sequence, password): - k, _ = self.get_private_key(sequence, password) - cK = ecc.ECPrivkey(k).get_public_key_bytes() - return cK, k - def can_have_deterministic_lightning_xprv(self): if (self.get_seed_type() == 'segwit' and self.get_bip32_node_for_xpub().xtype == 'p2wpkh'): @@ -917,16 +912,6 @@ class Hardware_KeyStore(Xpub, KeyStore): 'soft_device_id': self.soft_device_id, } - def unpaired(self): - '''A device paired with the wallet was disconnected. This can be - called in any thread context.''' - self.logger.info("unpaired") - - def paired(self): - '''A device paired with the wallet was (re-)connected. This can be - called in any thread context.''' - self.logger.info("paired") - def is_watching_only(self): '''The wallet is not watching-only; the user will be prompted for pin and passphrase as appropriate when needed.'''