From f542c3901e70f1b32169a88fbba474ca9d092bf5 Mon Sep 17 00:00:00 2001 From: Vivek Teega Date: Sat, 5 Oct 2019 10:13:56 +0530 Subject: [PATCH] Removing typo JS from python --- ranchimallflo_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ranchimallflo_api.py b/ranchimallflo_api.py index 7fe1978..e4363f9 100644 --- a/ranchimallflo_api.py +++ b/ranchimallflo_api.py @@ -593,7 +593,7 @@ async def gettransactiondetails(transactionHash): # now check what kind of transaction it is and if it exists in our database if parseResult["type"] == "noise": - alert('Transaction is of the type noise') + return jsonify(result='error', description='Transaction is of the type noise') elif parseResult["type"] == "tokenIncorporation": # open db of the token specified and check if the transaction exists there