forked from LBRYCommunity/lbry-sdk
removing more references to PTCWallet
This commit is contained in:
parent
866f220d9b
commit
267f50474b
2 changed files with 0 additions and 8 deletions
|
@ -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:
|
||||||
|
|
|
@ -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))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue