From 85bbccf82a94e2facfd65da78ad923ec938eeda0 Mon Sep 17 00:00:00 2001 From: tecnovert Date: Tue, 9 Aug 2022 01:29:51 +0200 Subject: [PATCH] preparescript: with_coins should be a set. --- bin/basicswap_prepare.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/basicswap_prepare.py b/bin/basicswap_prepare.py index f721a3d..8b0a81d 100755 --- a/bin/basicswap_prepare.py +++ b/bin/basicswap_prepare.py @@ -786,7 +786,7 @@ def initialise_wallets(particl_wallet_mnemonic, with_coins, data_dir, settings, start_daemons = with_coins if 'particl' not in with_coins: # Particl must be running to initialise a wallet in addcoin mode - start_daemons.append('particl') + start_daemons.add('particl') for coin_name in start_daemons: coin_settings = settings['chainclients'][coin_name] @@ -948,7 +948,7 @@ def main(): if s[1] not in known_coins: exitWithError('Unknown coin {}'.format(s[1])) add_coin = s[1] - with_coins = [add_coin, ] + with_coins = {add_coin, } continue if name == 'disablecoin': if s[1] not in known_coins: