From b89f94f0cce4c9f9072d2f67d3adf0da785046e2 Mon Sep 17 00:00:00 2001 From: tecnovert Date: Fri, 9 Sep 2022 16:14:19 +0200 Subject: [PATCH] pivx: Download osx hashes file. --- bin/basicswap_prepare.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/basicswap_prepare.py b/bin/basicswap_prepare.py index 44b7f1c..a6f910c 100755 --- a/bin/basicswap_prepare.py +++ b/bin/basicswap_prepare.py @@ -392,8 +392,8 @@ def prepareCore(coin, version_data, settings, data_dir, extra_opts={}): elif coin == 'pivx': release_filename = '{}-{}-{}{}.{}'.format(coin, version, BIN_ARCH, filename_extra, FILE_EXT) release_url = 'https://github.com/tecnovert/particl-core/releases/download/v{}/{}'.format(version + version_tag, release_filename) - assert_filename = 'pivx-linux-6.0-build.assert' - assert_url = 'https://raw.githubusercontent.com/tecnovert/gitian.sigs/pivx/5.4.99_scantxoutset-linux/tecnovert/{}'.format(assert_filename) + assert_filename = 'pivx-{}-6.0-build.assert'.format(os_name) + assert_url = 'https://raw.githubusercontent.com/tecnovert/gitian.sigs/pivx/5.4.99_scantxoutset-{}/tecnovert/{}'.format(os_dir_name, assert_filename) else: raise ValueError('Unknown coin')