Skip to content

Commit

Permalink
Update x/data/iri.go
Browse files Browse the repository at this point in the history
Co-authored-by: Marie Gauthier <[email protected]>
  • Loading branch information
aaronc and blushi authored Dec 13, 2023
1 parent 78fdbb9 commit cbd68fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/data/iri.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const (

// ToIRI converts the ContentHash_Raw to an IRI (internationalized URI) based on the following
// pattern: regen:{base58check(concat( byte(0x0), byte(digest_algorithm), hash), 1)}.{file_extension}
// This is the same as ContentHash_Raw.ToIRI except that the media type is replaced with a file extension
// This is the same as ContentHash_Raw.ToIRI from regen.data.v1 except that the media type is replaced with a file extension
// and the base58check version byte is 1 instead of 0.
func (chr ContentHash_Raw) ToIRI() (string, error) {
err := chr.Validate()
Expand Down

0 comments on commit cbd68fd

Please sign in to comment.