diff --git a/basicswap/bin/prepare.py b/basicswap/bin/prepare.py index 2cbe01e..595d080 100644 --- a/basicswap/bin/prepare.py +++ b/basicswap/bin/prepare.py @@ -572,8 +572,10 @@ def extractCore(coin, version_data, settings, bin_dir, release_path, extra_opts= ) return - dir_name = "dashcore" if coin == "dash" else coin - dir_name = "bitcoin-cash-node" if coin == "bitcoincash" else coin + dir_name = { + "dash": "dashcore", + "bitcoincash": "bitcoin-cash-node", + }.get(coin, coin) if coin == "decred": bins = ["dcrd", "dcrwallet"] elif coin == "bitcoincash":