mirror of
https://github.com/basicswap/basicswap.git
synced 2025-01-19 00:54:35 +00:00
Adjust wallet name for Particl anon and blind interfaces.
This commit is contained in:
parent
aefb094694
commit
e28d41ed0c
1 changed files with 10 additions and 5 deletions
|
@ -950,7 +950,12 @@ class BasicSwap(BaseApp):
|
||||||
self.waitForDaemonRPC(coin_type, with_wallet=False)
|
self.waitForDaemonRPC(coin_type, with_wallet=False)
|
||||||
if coin_type in (Coins.XMR, Coins.WOW):
|
if coin_type in (Coins.XMR, Coins.WOW):
|
||||||
return
|
return
|
||||||
ci = self.ci(coin_type)
|
|
||||||
|
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.
|
# checkWallets can adjust the wallet name.
|
||||||
if ci.checkWallets() < 1:
|
if ci.checkWallets() < 1:
|
||||||
self.log.error('No wallets found for coin {}.'.format(ci.coin_name()))
|
self.log.error('No wallets found for coin {}.'.format(ci.coin_name()))
|
||||||
|
|
Loading…
Reference in a new issue