preparescript: with_coins should be a set.
This commit is contained in:
parent
20c0c372d0
commit
85bbccf82a
@ -786,7 +786,7 @@ def initialise_wallets(particl_wallet_mnemonic, with_coins, data_dir, settings,
|
|||||||
start_daemons = with_coins
|
start_daemons = with_coins
|
||||||
if 'particl' not in with_coins:
|
if 'particl' not in with_coins:
|
||||||
# Particl must be running to initialise a wallet in addcoin mode
|
# 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:
|
for coin_name in start_daemons:
|
||||||
coin_settings = settings['chainclients'][coin_name]
|
coin_settings = settings['chainclients'][coin_name]
|
||||||
@ -948,7 +948,7 @@ def main():
|
|||||||
if s[1] not in known_coins:
|
if s[1] not in known_coins:
|
||||||
exitWithError('Unknown coin {}'.format(s[1]))
|
exitWithError('Unknown coin {}'.format(s[1]))
|
||||||
add_coin = s[1]
|
add_coin = s[1]
|
||||||
with_coins = [add_coin, ]
|
with_coins = {add_coin, }
|
||||||
continue
|
continue
|
||||||
if name == 'disablecoin':
|
if name == 'disablecoin':
|
||||||
if s[1] not in known_coins:
|
if s[1] not in known_coins:
|
||||||
|
Loading…
Reference in New Issue
Block a user