Skip to content

Commit

Permalink
lint fix: removed unused function getPersonalSignSpecDocBytes
Browse files Browse the repository at this point in the history
  • Loading branch information
arnabghose997 committed Nov 23, 2023
1 parent 82ebd3b commit 1597bce
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions x/ssi/verification/client_spec.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,6 @@ func getCosmosADR036SignDocBytes(ssiDocBytes []byte, signerAddress string) ([]by
return updatedSignDocBytes, nil
}

// More info on the `personal_sign` here: https://docs.metamask.io/guide/signing-data.html#personal-sign
func getPersonalSignSpecDocBytes(ssiMsg types.SsiMsg) ([]byte, error) {
return json.Marshal(ssiMsg)
}

// Get the updated marshaled SSI document for the respective ClientSpec
func getDocBytesByClientSpec(ssiMsg types.SsiMsg, extendedVm *types.ExtendedVerificationMethod) ([]byte, error) {
switch extendedVm.Proof.ClientSpecType {
Expand Down

0 comments on commit 1597bce

Please sign in to comment.