remove unused COIN file

This commit is contained in:
Jack Robison 2021-05-20 13:32:32 -04:00
parent 586b19675e
commit d27c2cc1e9
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -521,11 +521,6 @@ class LevelDB:
async def _open_dbs(self, for_sync, compacting):
if self.executor is None:
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
self.db = self.db_class(f'lbry-{self.env.db_engine}', True)