Skip to content

Commit 09fbd63

Browse files
committed
chore: remove unused code
1 parent b3dd01a commit 09fbd63

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

ucan/proof_chain_test.go

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,6 @@ func (f *memLister) List(ctx context.Context, aud ucan.Principal, cmd ucan.Comma
4444
}
4545
}
4646

47-
// erroringLister yields a single error from the iterator.
48-
type erroringLister struct{ err error }
49-
50-
func (f *erroringLister) List(ctx context.Context, aud ucan.Principal, cmd ucan.Command, sub ucan.Subject) iter.Seq2[ucan.Delegation, error] {
51-
return func(yield func(ucan.Delegation, error) bool) {
52-
yield(nil, f.err)
53-
}
54-
}
55-
5647
func assertChain(t *testing.T, proofs []ucan.Delegation, links []ucan.Link, want []ucan.Delegation) {
5748
t.Helper()
5849
require.Len(t, proofs, len(want), "proof chain length")

0 commit comments

Comments
 (0)