From e6813b3847eb621a45e5c8040c5889427b3e6daf Mon Sep 17 00:00:00 2001 From: Rod Vagg Date: Tue, 28 Feb 2023 12:33:24 +1100 Subject: [PATCH] fix: wire up proper linksystem to traverser (#411) 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)