diff --git a/pkg/solana/logpoller/filters_test.go b/pkg/solana/logpoller/filters_test.go index 96ff04f76..4b7f57f9b 100644 --- a/pkg/solana/logpoller/filters_test.go +++ b/pkg/solana/logpoller/filters_test.go @@ -129,7 +129,7 @@ func TestFilters_RegisterFilter(t *testing.T) { filter := Filter{Name: filterName} err := fs.RegisterFilter(tests.Context(t), filter) require.Error(t, err) - // can readd after db issue is resovled + // can read after db issue is resolved orm.On("InsertFilter", mock.Anything, mock.Anything).Return(int64(1), nil).Once() err = fs.RegisterFilter(tests.Context(t), filter) require.NoError(t, err) diff --git a/pkg/solana/logpoller/types.go b/pkg/solana/logpoller/types.go index 5e8344faf..143c28898 100644 --- a/pkg/solana/logpoller/types.go +++ b/pkg/solana/logpoller/types.go @@ -98,8 +98,8 @@ func (p *SubkeyPaths) Scan(src interface{}) error { return nil } -func (k SubkeyPaths) Equal(o SubkeyPaths) bool { - return slices.EqualFunc(k, o, slices.Equal) +func (p SubkeyPaths) Equal(o SubkeyPaths) bool { + return slices.EqualFunc(p, o, slices.Equal) } const EventSignatureLength = 8