diff --git a/basicswap/basicswap.py b/basicswap/basicswap.py index 8019254..9f57bb8 100644 --- a/basicswap/basicswap.py +++ b/basicswap/basicswap.py @@ -708,13 +708,6 @@ class BasicSwap(BaseApp): # Older core versions don't write a pid file on windows pass else: - # Workaround for mismatched pid file name in litecoin 0.21.2 - # Also set with pid= in .conf - # TODO: Remove - if cc['name'] == 'litecoin' and (not os.path.exists(pidfilepath)) and \ - os.path.exists(os.path.join(self.getChainDatadirPath(coin), 'bitcoind.pid')): - pidfilepath = os.path.join(self.getChainDatadirPath(coin), 'bitcoind.pid') - with open(pidfilepath, 'rb') as fp: datadir_pid = int(fp.read().decode('utf-8')) assert (datadir_pid == cc['pid']), 'Mismatched pid'