From a2536ca1dc4f715efe5155f30fdf7010659c05c7 Mon Sep 17 00:00:00 2001 From: gammazero <11790789+gammazero@users.noreply.github.com> Date: Thu, 5 Sep 2024 12:55:53 -0700 Subject: [PATCH] move line of code to match 0.5.x branch --- dagsync/subscriber.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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.