Skip to content

Commit

Permalink
Fix lints in log_poller.go & types.go
Browse files Browse the repository at this point in the history
  • Loading branch information
reductionista committed Dec 16, 2024
1 parent 3887d1f commit 49c89de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/solana/logpoller/filters_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions pkg/solana/logpoller/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 49c89de

Please sign in to comment.