From 54a1118e2ddbf3c14d578e55cbf0a74db1d27581 Mon Sep 17 00:00:00 2001 From: "artem.ivanov" Date: Mon, 15 Jan 2024 15:27:08 +0300 Subject: [PATCH] Fixed couple comments Signed-off-by: artem.ivanov --- wrappers/javascript/packages/anoncreds-shared/src/api/index.ts | 1 - wrappers/python/anoncreds/types.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/wrappers/javascript/packages/anoncreds-shared/src/api/index.ts b/wrappers/javascript/packages/anoncreds-shared/src/api/index.ts index f32c0bc4..e5e3239c 100644 --- a/wrappers/javascript/packages/anoncreds-shared/src/api/index.ts +++ b/wrappers/javascript/packages/anoncreds-shared/src/api/index.ts @@ -16,5 +16,4 @@ export * from './RevocationRegistryDefinition' export * from './RevocationRegistryDefinitionPrivate' export * from './RevocationStatusList' export * from './W3cCredential' -export * from './CredentialOffer' export * from './W3cPresentation' diff --git a/wrappers/python/anoncreds/types.py b/wrappers/python/anoncreds/types.py index 3410396e..ab49bf93 100644 --- a/wrappers/python/anoncreds/types.py +++ b/wrappers/python/anoncreds/types.py @@ -445,7 +445,7 @@ def from_legacy( return cred.to_w3c(cred_def, w3c_version) def _get_proof_details(self) -> bindings.ObjectHandle: - if self._proof_details == None: + if self._proof_details is None: self._proof_details = bindings.w3c_credential_get_integrity_proof_details(self.handle) return self._proof_details