forked from LBRYCommunity/lbry-sdk
remove unused COIN file
This commit is contained in:
parent
e678df86e0
commit
c1ac4d8261
1 changed files with 0 additions and 5 deletions
|
@ -521,11 +521,6 @@ class LevelDB:
|
||||||
async def _open_dbs(self, for_sync, compacting):
|
async def _open_dbs(self, for_sync, compacting):
|
||||||
if self.executor is None:
|
if self.executor is None:
|
||||||
self.executor = ThreadPoolExecutor(1)
|
self.executor = ThreadPoolExecutor(1)
|
||||||
coin_path = os.path.join(self.env.db_dir, 'COIN')
|
|
||||||
if not os.path.isfile(coin_path):
|
|
||||||
with util.open_file(coin_path, create=True) as f:
|
|
||||||
f.write(f'ElectrumX databases and metadata for '
|
|
||||||
f'{self.coin.NAME} {self.coin.NET}'.encode())
|
|
||||||
|
|
||||||
assert self.db is None
|
assert self.db is None
|
||||||
self.db = self.db_class(f'lbry-{self.env.db_engine}', True)
|
self.db = self.db_class(f'lbry-{self.env.db_engine}', True)
|
||||||
|
|
Loading…
Reference in a new issue