From 0ff0a13a677209a9c383feb658b128d4ee8a03ca Mon Sep 17 00:00:00 2001 From: tecnovert Date: Fri, 12 Jan 2024 18:13:14 +0200 Subject: [PATCH] coins: Fix LTC windows assert URL --- bin/basicswap_prepare.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/basicswap_prepare.py b/bin/basicswap_prepare.py index 8ffbc86..bb0cd73 100755 --- a/bin/basicswap_prepare.py +++ b/bin/basicswap_prepare.py @@ -603,7 +603,8 @@ def prepareCore(coin, version_data, settings, data_dir, extra_opts={}): elif coin == 'litecoin': release_url = 'https://download.litecoin.org/litecoin-{}/{}/{}'.format(version, os_name, release_filename) assert_filename = '{}-core-{}-{}-build.assert'.format(coin, os_name, '.'.join(version.split('.')[:2])) - assert_url = 'https://raw.githubusercontent.com/litecoin-project/gitian.sigs.ltc/master/%s-%s/%s/%s' % (version, os_dir_name, signing_key_name, assert_filename) + use_signing_key_name = (signing_key_name + '/' + signing_key_name) if os_name == 'win' else signing_key_name + assert_url = 'https://raw.githubusercontent.com/litecoin-project/gitian.sigs.ltc/master/%s-%s/%s/%s' % (version, os_dir_name, use_signing_key_name, assert_filename) elif coin == 'bitcoin': release_url = 'https://bitcoincore.org/bin/bitcoin-core-{}/{}'.format(version, release_filename) assert_filename = '{}-core-{}-{}-build.assert'.format(coin, os_name, '.'.join(version.split('.')[:2]))