From f8f0dd3eb260af1d88e1b2e70edc3a048815f8bb Mon Sep 17 00:00:00 2001 From: Aaron Craelius Date: Wed, 13 Dec 2023 15:57:11 -0500 Subject: [PATCH] update version references --- x/data/iri.go | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/x/data/iri.go b/x/data/iri.go index a6967407b4..f9bba6b333 100644 --- a/x/data/iri.go +++ b/x/data/iri.go @@ -31,9 +31,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 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. +// pattern: regen:{base58check(concat( byte(0x0), byte(digest_algorithm), hash), 0)}.{file_extension} func (chr ContentHash_Raw) ToIRI() (string, error) { err := chr.Validate() if err != nil { @@ -52,8 +50,7 @@ func (chr ContentHash_Raw) ToIRI() (string, error) { // ToIRI converts the ContentHash_Graph to an IRI (internationalized URI) based on the following // pattern: regen:{base58check(concat(byte(0x1), byte(canonicalization_algorithm), -// byte(merkle_tree), byte(digest_algorithm), hash), 1)}.rdf -// This is the same as ContentHash_Graph.ToIRI except that the base58check version byte is 1 instead of 0. +// byte(merkle_tree), byte(digest_algorithm), hash), 0)}.rdf func (chg ContentHash_Graph) ToIRI() (string, error) { err := chg.Validate() if err != nil {