From b85d234a0b7571c45670c9328575ff2efa219215 Mon Sep 17 00:00:00 2001 From: tecnovert Date: Mon, 5 Feb 2024 18:34:39 +0200 Subject: [PATCH] prepare: Switch Litecoin download url to github. --- bin/basicswap_prepare.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/basicswap_prepare.py b/bin/basicswap_prepare.py index 96756ad..ba47bb9 100755 --- a/bin/basicswap_prepare.py +++ b/bin/basicswap_prepare.py @@ -601,7 +601,7 @@ def prepareCore(coin, version_data, settings, data_dir, extra_opts={}): else: assert_url = 'https://raw.githubusercontent.com/particl/gitian.sigs/master/%s-%s/%s/%s' % (version + version_tag, os_dir_name, signing_key_name, assert_filename) elif coin == 'litecoin': - release_url = 'https://download.litecoin.org/litecoin-{}/{}/{}'.format(version, os_name, release_filename) + release_url = 'https://github.com/litecoin-project/litecoin/releases/download/v{}/{}'.format(version + version_tag, release_filename) assert_filename = '{}-core-{}-{}-build.assert'.format(coin, os_name, '.'.join(version.split('.')[:2])) 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)