Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
gammazero committed Sep 2, 2024
1 parent 549793d commit 860c89b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions dagsync/ipnisync/publisher.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 860c89b

Please sign in to comment.