From 267f50474bd8c958082929b66d02f71359f82fcb Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Wed, 14 Mar 2018 18:29:50 -0400 Subject: [PATCH] removing more references to PTCWallet --- lbrynet/core/Session.py | 4 ---- lbrynet/daemon/Daemon.py | 4 ---- 2 files changed, 8 deletions(-) diff --git a/lbrynet/core/Session.py b/lbrynet/core/Session.py index b8ef9ebcb..8ac992ec4 100644 --- a/lbrynet/core/Session.py +++ b/lbrynet/core/Session.py @@ -132,10 +132,6 @@ class Session(object): if self.node_id is None: self.node_id = generate_id() - if self.wallet is None: - from lbrynet.core.PTCWallet import PTCWallet - self.wallet = PTCWallet(self.db_dir) - if self.use_upnp is True: d = self._try_upnp() else: diff --git a/lbrynet/daemon/Daemon.py b/lbrynet/daemon/Daemon.py index 652fb370e..b276aefb6 100644 --- a/lbrynet/daemon/Daemon.py +++ b/lbrynet/daemon/Daemon.py @@ -547,10 +547,6 @@ class Daemon(AuthJSONRPCServer): config['lbryum_path'] = conf.settings['lbryum_wallet_dir'] wallet = LBRYumWallet(self.storage, config) return defer.succeed(wallet) - elif self.wallet_type == PTC_WALLET: - log.info("Using PTC wallet") - from lbrynet.core.PTCWallet import PTCWallet - return defer.succeed(PTCWallet(self.db_dir)) else: raise ValueError('Wallet Type {} is not valid'.format(self.wallet_type))