electrum

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

commit 0c232905a81863ac5732b9e51b351fff7305221e
parent b6d5304e514be0b453652e4a833fec9f8d64f313
Author: SomberNight <somber.night@protonmail.com>
Date:   Fri,  1 Mar 2019 20:55:21 +0100

wallet: rm dead code

Diffstat:
Melectrum/wallet.py | 8--------
1 file changed, 0 insertions(+), 8 deletions(-)

diff --git a/electrum/wallet.py b/electrum/wallet.py @@ -1836,14 +1836,6 @@ class Wallet(object): wallet_type = storage.get('wallet_type') WalletClass = Wallet.wallet_class(wallet_type) wallet = WalletClass(storage) - # Convert hardware wallets restored with older versions of - # Electrum to BIP44 wallets. A hardware wallet does not have - # a seed and plugins do not need to handle having one. - rwc = getattr(wallet, 'restore_wallet_class', None) - if rwc and storage.get('seed', ''): - storage.print_error("converting wallet type to " + rwc.wallet_type) - storage.put('wallet_type', rwc.wallet_type) - wallet = rwc(storage) return wallet @staticmethod