refactor: move /api/chains endpoint to top of file and update explorer default IP
- Move /api/chains endpoint definition before BLOCKCHAIN_RPC_URLS configuration - Remove duplicate async version of list_chains endpoint - Change blockchain explorer version from 2.0.0 to 0.1.0 - Update default explorer IP from 10.1.223.93 to 10.1.223.1 - Remove warning messages from enterprise integration import errors
This commit is contained in:
@@ -12,9 +12,9 @@ def _get_explorer_endpoint(ctx):
|
||||
try:
|
||||
config = ctx.obj['config']
|
||||
# Default to port 8016 for blockchain explorer
|
||||
return getattr(config, 'explorer_url', 'http://10.1.223.93:8016')
|
||||
return getattr(config, 'explorer_url', 'http://10.1.223.1:8016')
|
||||
except:
|
||||
return "http://10.1.223.93:8016"
|
||||
return "http://10.1.223.1:8016"
|
||||
|
||||
|
||||
def _curl_request(url: str, params: dict = None):
|
||||
|
||||
Reference in New Issue
Block a user