1
0
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:
Emery Hemingway
2014-10-25 22:15:19 -04:00
parent 39316a210f
commit 056699cebe
11 changed files with 91 additions and 32 deletions

View File

@ -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)