update proof casting

This commit is contained in:
turnoffthiscomputer
2024-06-25 12:00:27 +02:00
parent c5c29d9873
commit 0ceff2c38b
2 changed files with 2 additions and 2 deletions

View File

@@ -46,7 +46,7 @@ async def generate_dsc_proof(request: Request):
public_content = public_file.read()
response_data = {
"proof": json.loads(proof_content),
"public": json.loads(public_content)
"pub_signals": json.loads(public_content)
}
return PlainTextResponse(json.dumps(response_data), media_type="application/json")
except FileNotFoundError: