From d4878ef260d29a9b971b27b657eab97db582d5c5 Mon Sep 17 00:00:00 2001 From: Rod Vagg Date: Mon, 27 Feb 2023 21:16:42 +1100 Subject: [PATCH] fix: wire up proper linksystem to traverser Was missed in https://github.com/ipfs/go-graphsync/pull/356 This doesn't break anything obvious because the loader isn't used from the traverser's linksystem, and the traverser sets up defaults where the provided linksystem is missing them. But, we don't get certain things, like KnownReifiers, which are kind of important. --- requestmanager/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requestmanager/server.go b/requestmanager/server.go index 881fb436..b60fcddb 100644 --- a/requestmanager/server.go +++ b/requestmanager/server.go @@ -157,7 +157,7 @@ func (rm *RequestManager) requestTask(requestID graphsync.RequestID) executor.Re return nil }, Chooser: ipr.nodeStyleChooser, - LinkSystem: rm.linkSystem, + LinkSystem: *ipr.lsys, Budget: budget, PanicCallback: rm.panicCallback, }.Start(ctx)