Skip to content

Commit

Permalink
feat(index.page.tsx): add proveUpdateTransaction method call to ensur…
Browse files Browse the repository at this point in the history
…e transaction validity before sending it
  • Loading branch information
MartinMinkov committed Aug 25, 2023
1 parent 5a74238 commit 9d6c33c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ export default function Home() {
privateKey,
localZkappPrivateKey
);
await zkappWorkerClient.proveUpdateTransaction();
transactionHash = await zkappWorkerClient.sendUpdateTransaction();
console.log(
'See transaction at https://berkeley.minaexplorer.com/transaction/' +
Expand Down

0 comments on commit 9d6c33c

Please sign in to comment.