mirror of
https://github.com/basicswap/basicswap.git
synced 2025-12-04 14:37:07 +01:00
ui: Use coin tickers as wallet keys in json/wallets
This commit is contained in:
@@ -213,7 +213,7 @@ def read_json_api(port, path=None):
|
||||
url = f'http://127.0.0.1:{port}/json'
|
||||
if path is not None:
|
||||
url += '/' + path
|
||||
return json.loads(urlopen(url).read())
|
||||
return json.loads(urlopen(url, timeout=30).read())
|
||||
|
||||
|
||||
def post_json_api(port, path, json_data):
|
||||
|
||||
Reference in New Issue
Block a user