Skip to content

Commit

Permalink
Fix storage test
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippGackstatter committed Sep 20, 2023
1 parent 8d6cf18 commit 1fc5f10
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bindings/wasm/tests/storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ import {
Storage,
Timestamp,
VerificationMethod,
verifyEdDSA,
} from "../node";
import { createVerificationMethod } from "./key_id_storage";

Expand Down Expand Up @@ -417,7 +416,7 @@ describe("#JwkStorageDocument", function() {
decodedSignature: Uint8Array,
publicKey: Jwk,
): void {
verifyEdDSA(alg, signingInput, decodedSignature, publicKey);
new EdDSAJwsVerifier().verify(alg, signingInput, decodedSignature, publicKey);
this._verifications += 1;
return;
}
Expand Down

0 comments on commit 1fc5f10

Please sign in to comment.