Skip to content

Commit

Permalink
fix: reference to renamed method
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Bluhm <[email protected]>
  • Loading branch information
dbluhm committed Nov 10, 2023
1 parent 38211a7 commit ca755c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions didcomm_messaging/crypto/askar/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def _expected_alg_and_material_to_key(
raise ValueError("Invalid key") from err
return key
else:
key = cls._multikey_to_key(public_key_multibase)
key = cls.multikey_to_key(public_key_multibase)
if key.algorithm != alg:
raise ValueError("Type and algorithm mismatch")
return key
Expand All @@ -126,7 +126,7 @@ def from_verification_method(cls, vm: VerificationMethod) -> "AskarKey":
if not multikey:
raise ValueError("Multikey verification method missing key")

key = cls._multikey_to_key(multikey)
key = cls.multikey_to_key(multikey)
return cls(key, kid)

alg = cls.type_to_alg.get(vm.type)
Expand Down

0 comments on commit ca755c4

Please sign in to comment.