Closed vasile135 closed 2 years ago
Describe the bug "Ledger operation rejected" when call "_credentialService.RevokeCredentialAsync(agentContext, credentialRecord.Id)"
To Reproduce Steps to reproduce the behavior:
Expected behavior Expected to successfully write the delta state on the ledger as all previous ledger operations passed.
Screenshots Credential record: The revocRegistryDeltaJson:
Desktop
Additional context The ledger rejects the SendRevocationRegistryEntryAsync action with the error message "Ledger operation rejected".
Thanks.
The problem was that the credential definition was created with Endpoint.DID, not with IssuerDid:
Describe the bug "Ledger operation rejected" when call "_credentialService.RevokeCredentialAsync(agentContext, credentialRecord.Id)"
To Reproduce Steps to reproduce the behavior:
Expected behavior Expected to successfully write the delta state on the ledger as all previous ledger operations passed.
Screenshots Credential record:
The revocRegistryDeltaJson:
![image](https://user-images.githubusercontent.com/58006892/142462278-97c5ca03-fa9a-459f-a268-16ee3cc22989.png)
Desktop
Additional context The ledger rejects the SendRevocationRegistryEntryAsync action with the error message "Ledger operation rejected".
Thanks.