From 1fc35f289f4dae3560fac7371aa767dd281ecab1 Mon Sep 17 00:00:00 2001 From: Vivek Teega Date: Wed, 25 May 2022 12:03:46 +0000 Subject: [PATCH] Fixed : Infinite token rejection bug --- tracktokens_smartcontracts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tracktokens_smartcontracts.py b/tracktokens_smartcontracts.py index 2be94a3..c90ec14 100755 --- a/tracktokens_smartcontracts.py +++ b/tracktokens_smartcontracts.py @@ -974,6 +974,7 @@ def processTransaction(transaction_data, parsed_data, blockinfo): # All FLO checks completed at this point. # Semantic rules for parsed data begins + pdb.set_trace() # todo Rule 44 - Process as per the type of transaction if parsed_data['type'] == 'transfer': logger.info(f"Transaction {transaction_data['txid']} is of the type transfer") @@ -2954,7 +2955,6 @@ def processTransaction(transaction_data, parsed_data, blockinfo): blockchainReference = neturl + 'tx/' + transaction_data['txid'] session.add(RejectedTransactionHistory(tokenIdentification=parsed_data['tokenIdentification'], sourceFloAddress=inputadd, destFloAddress=outputlist[0], - transferAmount=parsed_data['tokenAmount'], blockNumber=transaction_data['blockheight'], blockHash=transaction_data['blockhash'], time=transaction_data['blocktime'],