more and more debug
This commit is contained in:
parent
8aefc90ece
commit
f04d425a31
|
@ -1,5 +1,6 @@
|
|||
import json
|
||||
import logging
|
||||
import hashlib
|
||||
|
||||
from django.views.generic.edit import View
|
||||
from django.http import JsonResponse
|
||||
|
@ -31,6 +32,8 @@ class ProofView(View):
|
|||
doc = dev.get_phid()
|
||||
|
||||
logger.error(doc)
|
||||
hs = hashlib.sha3_256(json.dumps(doc).encode()).hexdigest()
|
||||
logger.error(hs)
|
||||
|
||||
data = {
|
||||
"algorithm": ALGORITHM,
|
||||
|
|
Loading…
Reference in a new issue