mirror of
https://github.com/selfxyz/self.git
synced 2026-01-15 01:28:18 -05:00
hardcode app circuit to prove_rsa_65537_sha256, todo adapt so it supports the 3 of them
This commit is contained in:
@@ -100,6 +100,8 @@ const ProveScreen: React.FC<ProveScreenProps> = ({ setSheetRegisterIsOpen }) =>
|
||||
setIsConnecting(true);
|
||||
setGeneratingProof(true);
|
||||
|
||||
console.log("handleProve. selectedApp", selectedApp)
|
||||
|
||||
if (!socket) {
|
||||
throw new Error('Socket not initialized');
|
||||
}
|
||||
|
||||
@@ -24,12 +24,13 @@ export interface AppType {
|
||||
export function createAppType(data: AppType): AppType {
|
||||
return {
|
||||
//id: data.id || "",
|
||||
...data,
|
||||
name: data.name,
|
||||
scope: data.scope,
|
||||
//callbackEndPoint: data.callbackEndPoint,
|
||||
userId: data.userId,
|
||||
disclosureOptions: data.disclosureOptions,
|
||||
circuit: data.circuit || "prove_rsa_65537_sha256",
|
||||
...data
|
||||
// circuit: data.circuit || "prove_rsa_65537_sha256",
|
||||
circuit: "prove_rsa_65537_sha256",
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user