hypersign-protocol / hid-node

A permissionless blockchain network to manage digital identity and access rights
https://hypersign.id
Apache License 2.0
223 stars 23 forks source link

Duplicate PublicKeyMultibase : Error should not be thrown for EcdsaSecp256k1VerificationKey2019 (Keplr Case) #348

Closed Pratap2018 closed 1 year ago

Pratap2018 commented 1 year ago

Duplicate publicKeyMultibase : Error should not be thrown for EcdsaSecp256k1VerificationKey2019 (Keplr Case)

Issue Description

While updating didDocument with two or more verification methods of key-type EcdsaSecp256k1VerificationKey2019 , an Error is thrown as "duplicate publicKeyMultibase found: ${publickeymultibase}",

Steps to Reproduce (if applicable)

N/A

Expected Behavior (if applicable)

Registration or updation of the didDocument should happen.

Actual Behavior (if applicable)

Error is thrown

Screenshots (if applicable)

N/A

Additional Information (if applicable)

N/A