From 69ca41c68d85c517f57bc43eca7fa24d96b87694 Mon Sep 17 00:00:00 2001 From: nahuhh <50635951+nahuhh@users.noreply.github.com> Date: Sat, 30 Nov 2024 14:42:41 +0000 Subject: [PATCH] prepare: fix dash bin folder --- basicswap/bin/prepare.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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":