Skip to content

Commit

Permalink
fix W3CCredential spell
Browse files Browse the repository at this point in the history
Signed-off-by: Sarthak Vijayvergiya <[email protected]>
  • Loading branch information
sarthakvijayvergiya committed Mar 31, 2024
1 parent 04c4891 commit f6340c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions aries_cloudagent/anoncreds/holder.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
Presentation,
PresentCredentials,
create_link_secret,
W3cCredential,
W3CCredential,
)
from aries_askar import AskarError, AskarErrorCode

Expand Down Expand Up @@ -304,7 +304,7 @@ async def store_credential_w3c(
"""
try:
# secret = await self.get_master_secret()
cred_w3c = W3cCredential.load(credential_data)
cred_w3c = W3CCredential.load(credential_data)
# cred_legacy = cred_w3c.to_legacy()
# cred_w3c_recvd = await asyncio.get_event_loop().run_in_executor(
# None,
Expand Down
4 changes: 2 additions & 2 deletions aries_cloudagent/anoncreds/issuer.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
CredentialOffer,
KeyCorrectnessProof,
Schema,
W3cCredential,
W3CCredential,
)
from aries_askar import AskarError

Expand Down Expand Up @@ -690,7 +690,7 @@ async def create_credential_w3c(
try:
credential = await asyncio.get_event_loop().run_in_executor(
None,
lambda: W3cCredential.create(
lambda: W3CCredential.create(
cred_def.raw_value,
cred_def_private.raw_value,
credential_offer,
Expand Down

0 comments on commit f6340c3

Please sign in to comment.