Skip to content

Commit

Permalink
Fix dht example (#116)
Browse files Browse the repository at this point in the history
* fix example

* fix

* pr template
  • Loading branch information
nitro-neal authored Mar 21, 2024
1 parent a22e246 commit 77f2cbd
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions test-vectors/did_dht/resolve.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
{
"description": "notFound error returned when not published",
"input": {
"didUri": "did:dht:cyuoqaf7itop8ohww4yn5ojg13qaq83r9zihgqntc5i9zwrfdfoz"
"didUri": "did:dht:uqaj3fcr9db6jg6o9pjs53iuftyj45r46aubogfaceqjbo6pp9sy"
},
"output": {
"didResolutionMetadata": {
Expand All @@ -26,10 +26,22 @@
"errors": true
},
{
"description": "invalidDid error returned for suffix with invalid character",
"description": "invalidPublicKey error returned for suffix with invalid character",
"input": {
"didUri": "did:dht:cyuoqaf7itop8ohww4yn5ojg13qaq83r9zihgqntc5i9zwrfdfov"
},
"output": {
"didResolutionMetadata": {
"error": "invalidPublicKey"
}
},
"errors": true
},
{
"description": "invalidDid error returned for invalid did",
"input": {
"didUri": "invalid-did"
},
"output": {
"didResolutionMetadata": {
"error": "invalidDid"
Expand Down

0 comments on commit 77f2cbd

Please sign in to comment.