removing more references to PTCWallet

This commit is contained in:
Lex Berezhny 2018-03-14 18:29:50 -04:00 committed by Jack Robison
parent 866f220d9b
commit 267f50474b
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2
2 changed files with 0 additions and 8 deletions

View file

@ -132,10 +132,6 @@ class Session(object):
if self.node_id is None: if self.node_id is None:
self.node_id = generate_id() 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: if self.use_upnp is True:
d = self._try_upnp() d = self._try_upnp()
else: else:

View file

@ -547,10 +547,6 @@ class Daemon(AuthJSONRPCServer):
config['lbryum_path'] = conf.settings['lbryum_wallet_dir'] config['lbryum_path'] = conf.settings['lbryum_wallet_dir']
wallet = LBRYumWallet(self.storage, config) wallet = LBRYumWallet(self.storage, config)
return defer.succeed(wallet) 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: else:
raise ValueError('Wallet Type {} is not valid'.format(self.wallet_type)) raise ValueError('Wallet Type {} is not valid'.format(self.wallet_type))