Commit 312b40ba authored by Dirk McCormick's avatar Dirk McCormick

refactor: remove unused code

parent 61972176
...@@ -89,24 +89,6 @@ func requestSplitterFactory(ctx context.Context) bssession.RequestSplitter { ...@@ -89,24 +89,6 @@ func requestSplitterFactory(ctx context.Context) bssession.RequestSplitter {
return &fakeRequestSplitter{} return &fakeRequestSplitter{}
} }
func cmpSessionCids(s *fakeSession, cids []cid.Cid) bool {
if len(s.ks) != len(cids) {
return false
}
for _, bk := range s.ks {
has := false
for _, c := range cids {
if c == bk {
has = true
}
}
if !has {
return false
}
}
return true
}
func TestAddingSessions(t *testing.T) { func TestAddingSessions(t *testing.T) {
ctx := context.Background() ctx := context.Background()
ctx, cancel := context.WithCancel(ctx) ctx, cancel := context.WithCancel(ctx)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment