From eb854467c84b61cd4500a7875376bf6a226750e3 Mon Sep 17 00:00:00 2001 From: Whyrusleeping Date: Tue, 30 Jul 2019 10:18:01 -0700 Subject: [PATCH] Update cmd/lotus-storage-miner/run.go MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Ɓukasz Magiera --- cmd/lotus-storage-miner/run.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/lotus-storage-miner/run.go b/cmd/lotus-storage-miner/run.go index 9a7f207b5..0e3d06932 100644 --- a/cmd/lotus-storage-miner/run.go +++ b/cmd/lotus-storage-miner/run.go @@ -74,7 +74,7 @@ var runCmd = &cli.Command{ return lr.SetAPIEndpoint(apima) }), node.Override(new(*sectorbuilder.SectorBuilderConfig), modules.SectorBuilderConfig(storageRepoPath)), - node.Override(new(api.FullNode), func() api.FullNode { return nodeApi }), + node.Override(new(api.FullNode), nodeApi), ) if err != nil { return err