mirror of
https://github.com/ipfs/kubo.git
synced 2025-09-10 09:52:20 +08:00
convert DAGService to an interface
This commit is contained in:
@ -24,7 +24,7 @@ func TestPinnerBasic(t *testing.T) {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
dserv := &mdag.DAGService{Blocks: bserv}
|
||||
dserv := mdag.NewDAGService(bserv)
|
||||
|
||||
p := NewPinner(dstore, dserv)
|
||||
|
||||
|
Reference in New Issue
Block a user