Skip to content

Commit

Permalink
Fix linter:
Browse files Browse the repository at this point in the history
  • Loading branch information
AnkushinDaniil committed Jan 25, 2025
1 parent d4f0338 commit e21edc9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rpc/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ func (h *Handler) Methods() ([]jsonrpc.Method, string) { //nolint: funlen
}, "/v0_8"
}

func (h *Handler) MethodsV0_7() ([]jsonrpc.Method, string) { //nolint: funlen, dupl
func (h *Handler) MethodsV0_7() ([]jsonrpc.Method, string) { //nolint: funlen
return []jsonrpc.Method{
{
Name: "starknet_chainId",
Expand Down Expand Up @@ -575,7 +575,7 @@ func (h *Handler) MethodsV0_7() ([]jsonrpc.Method, string) { //nolint: funlen, d
}, "/v0_7"
}

func (h *Handler) MethodsV0_6() ([]jsonrpc.Method, string) { //nolint: funlen, dupl
func (h *Handler) MethodsV0_6() ([]jsonrpc.Method, string) { //nolint: funlen
return []jsonrpc.Method{
{
Name: "starknet_chainId",
Expand Down
1 change: 1 addition & 0 deletions rpc/subscriptions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -867,6 +867,7 @@ func TestSubscriptionReorg(t *testing.T) {
}

func TestSubscribePendingTxs(t *testing.T) {
t.Parallel()
tests := []struct {
name string
subscribeMsg string
Expand Down

0 comments on commit e21edc9

Please sign in to comment.