Skip to content

Commit 6899412

Browse files
committed
feat(customNextPage.js): add logic to set zkprogramState based on update proof publicOutput to enhance functionality
1 parent 1b8ea14 commit 6899412

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib/ui/next/customNextPage.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ export default function Home() {
9797
if (contractState && proof) {
9898
const update = await zkProgram.update(contractState, proof);
9999
setProof(update.proof);
100+
setZkprogramState(update.proof.publicOutput.toString())
100101
}
101102
};
102103

0 commit comments

Comments
 (0)