We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f0c8eb commit c54471fCopy full SHA for c54471f
src/lib/mina/v1/transaction-validation.ts
@@ -245,8 +245,7 @@ async function verifyAccountUpdate(
245
246
let verificationKeyRaw = account.zkapp?.verificationKey;
247
assert(verificationKeyRaw !== undefined, 'Account does not have a verification key');
248
- let verificationKey = verificationKeyRaw?.data;
249
- assert(verificationKey !== undefined, 'Account does not have a verification key data');
+ let verificationKey = verificationKeyRaw.data;
250
251
const isVkValid = await checkVkValidity(verificationKeyRaw);
252
if (!isVkValid)
0 commit comments