namecoin pidfile name and workaround for ci prepare.

This commit is contained in:
tecnovert
2019-07-31 21:22:07 +02:00
parent 545b5e6975
commit 8731c9796a
2 changed files with 4 additions and 2 deletions

View File

@@ -443,7 +443,9 @@ class BasicSwap():
chain_client_settings = self.getChainClientSettings(coin)
authcookiepath = os.path.join(self.getChainDatadirPath(coin), '.cookie')
pidfilename = cc['name'] + ('d' if cc['name'] == 'bitcoin' else '')
pidfilename = cc['name']
if cc['name'] == 'bitcoin' or cc['name'] == 'namecoin':
pidfilename += 'd'
pidfilepath = os.path.join(self.getChainDatadirPath(coin), pidfilename + '.pid')
self.log.debug('Reading %s rpc credentials from auth cookie %s', coin, authcookiepath)
# Wait for daemon to start