mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-05 18:38:09 +01:00
Fix contract_count not inserted in db
This commit is contained in:
@@ -46,6 +46,7 @@ known_coins = {
|
||||
'litecoin': '0.18.1',
|
||||
'bitcoin': '0.20.1',
|
||||
'namecoin': '0.18.0',
|
||||
'monero': '0.17.0.1',
|
||||
}
|
||||
|
||||
logger = logging.getLogger()
|
||||
@@ -124,6 +125,15 @@ def prepareCore(coin, version, settings, data_dir):
|
||||
os_dir_name = 'linux'
|
||||
os_name = 'linux'
|
||||
|
||||
if coin == 'monero':
|
||||
url = 'https://downloads.getmonero.org/cli/monero-linux-x64-v${}.tar.bz2'.format(version)
|
||||
|
||||
release_path = os.path.join(bin_dir, release_filename)
|
||||
if not os.path.exists(release_path):
|
||||
downloadFile(release_url, release_path)
|
||||
|
||||
raise ValueError('TODO')
|
||||
|
||||
release_filename = '{}-{}-{}'.format(coin, version, BIN_ARCH)
|
||||
if coin == 'particl':
|
||||
signing_key_name = 'tecnovert'
|
||||
|
||||
Reference in New Issue
Block a user