diff --git a/dagsync/subscriber.go b/dagsync/subscriber.go index d0a93b6..8f8ea9a 100644 --- a/dagsync/subscriber.go +++ b/dagsync/subscriber.go @@ -105,6 +105,10 @@ type Subscriber struct { receiver *announce.Receiver + // cidSchemaHint enables sending the cid schema type hint as + // an HTTP header in sync requests. + cidSchemaHint bool + // Track explicit Sync calls in progress and allow them to complete before // closing subscriber. expSyncClosed bool @@ -118,10 +122,6 @@ type Subscriber struct { // specifies the selection sequence itself. adsSelectorSeq ipld.Node - // cidSchemaHint enables sending the cid schema type hint as - // an HTTP header in sync requests. - cidSchemaHint bool - // selectorOne selects one multihash entries or HAMT block. selectorOne ipld.Node // selectorAll selects all multihash HAMT blocks.