mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-05 18:38:09 +01:00
Adjust wallet name for Particl anon and blind interfaces.
This commit is contained in:
@@ -950,11 +950,16 @@ class BasicSwap(BaseApp):
|
||||
self.waitForDaemonRPC(coin_type, with_wallet=False)
|
||||
if coin_type in (Coins.XMR, Coins.WOW):
|
||||
return
|
||||
ci = self.ci(coin_type)
|
||||
# checkWallets can adjust the wallet name.
|
||||
if ci.checkWallets() < 1:
|
||||
self.log.error('No wallets found for coin {}.'.format(ci.coin_name()))
|
||||
self.stopRunning(1) # systemd will try to restart the process if fail_code != 0
|
||||
|
||||
check_coin_types = [coin_type,]
|
||||
if coin_type == Coins.PART:
|
||||
check_coin_types += [Coins.PART_ANON, Coins.PART_BLIND]
|
||||
for check_coin_type in check_coin_types:
|
||||
ci = self.ci(check_coin_type)
|
||||
# checkWallets can adjust the wallet name.
|
||||
if ci.checkWallets() < 1:
|
||||
self.log.error('No wallets found for coin {}.'.format(ci.coin_name()))
|
||||
self.stopRunning(1) # systemd will try to restart the process if fail_code != 0
|
||||
|
||||
startup_tries = self.startup_tries
|
||||
chain_client_settings = self.getChainClientSettings(coin_type)
|
||||
|
||||
Reference in New Issue
Block a user