fix flosight api url
This commit is contained in:
parent
dd26491619
commit
47eceac4f1
@ -574,7 +574,7 @@ async def getLatestBlockDetails():
|
||||
async def checkhash(hash):
|
||||
|
||||
# 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:
|
||||
return jsonify(type='transaction')
|
||||
else:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user