h***@nebulas.io
2018-09-10 09:30:47 UTC
record = ExchangeCoinTransaction.objects.filter(eth_tx_hash=eth_tx_hash)
if not record:
return False, "the eth transaction is't exchange coin transaction"
json_rec = serializers.serialize("json", record)
record = json.loads(json_rec)
#This simple query database, and serialize the results of the operation
takes 3 to 4s, similar operations may take more time
if not record:
return False, "the eth transaction is't exchange coin transaction"
json_rec = serializers.serialize("json", record)
record = json.loads(json_rec)
#This simple query database, and serialize the results of the operation
takes 3 to 4s, similar operations may take more time
--
You received this message because you are subscribed to the Google Groups "Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-framework+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-framework+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.