Skip to content

Commit 3fdfe3b

Browse files
committed
remove commented code
1 parent 38b0ff4 commit 3fdfe3b

1 file changed

Lines changed: 0 additions & 27 deletions

File tree

packages/wasm/src/services/credential/delegatable-credentials.ts

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -141,33 +141,6 @@ export async function issueDelegationCredential(
141141
keyPair: KeyPair,
142142
credential: any
143143
): Promise<DelegationCredential> {
144-
// const {
145-
// id,
146-
// issuerDid,
147-
// delegateDid,
148-
// mayClaim,
149-
// context,
150-
// types,
151-
// additionalSubjectProperties = {},
152-
// previousCredentialId = null,
153-
// rootCredentialId,
154-
// } = params;
155-
156-
// const credential = {
157-
// '@context': context,
158-
// id,
159-
// type: types,
160-
// issuer: issuerDid,
161-
// issuanceDate: new Date().toISOString(),
162-
// credentialSubject: {
163-
// id: delegateDid,
164-
// [MAY_CLAIM_IRI]: mayClaim,
165-
// ...additionalSubjectProperties,
166-
// },
167-
// rootCredentialId: undefined,
168-
// previousCredentialId,
169-
// };
170-
171144
const preparedKey = prepareKeyForSigning(keyPair);
172145
return issueCredential(preparedKey, credential);
173146
}

0 commit comments

Comments
 (0)