fix flosight api url

This commit is contained in:
Vivek Teega 2019-09-02 07:52:17 +05:30
parent dd26491619
commit 47eceac4f1

View File

@ -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: