fix flosight api url
This commit is contained in:
parent
dd26491619
commit
47eceac4f1
@ -574,7 +574,7 @@ async def getLatestBlockDetails():
|
|||||||
async def checkhash(hash):
|
async def checkhash(hash):
|
||||||
|
|
||||||
# check if the hash is of a transaction
|
# check if the hash is of a transaction
|
||||||
response = requests.get('{}transaction/{}'.format(apiUrl,hash))
|
response = requests.get('{}tx/{}'.format(apiUrl,hash))
|
||||||
if response.status_code == 200:
|
if response.status_code == 200:
|
||||||
return jsonify(type='transaction')
|
return jsonify(type='transaction')
|
||||||
else:
|
else:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user