diff --git a/dagsync/ipnisync/publisher.go b/dagsync/ipnisync/publisher.go index 6a2d3f4..0f0297e 100644 --- a/dagsync/ipnisync/publisher.go +++ b/dagsync/ipnisync/publisher.go @@ -44,9 +44,8 @@ var _ http.Handler = (*Publisher)(nil) // host can be provided to serve HTTP over libp2p. // // If the publisher receives a request that contains a valid CidSchemaHeader -// header, then the ipld.Context passed to the lsys Load function will contain -// a context that has a request type hint that can be extracted using -// CtxCidSchemaType. +// header, then the ipld.Context passed to the lsys Load function contains a +// context that has that header's value stored under the CidSchemaCtxKey key. func NewPublisher(lsys ipld.LinkSystem, privKey ic.PrivKey, options ...Option) (*Publisher, error) { opts, err := getOpts(options) if err != nil {