Skip to content

Commit

Permalink
Remove unused error (#2426)
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Kim <20001595+joshua-kim@users.noreply.github.com>
  • Loading branch information
joshua-kim authored Dec 6, 2023
1 parent 9c1694a commit d2ce17f
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions network/p2p/gossip/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ package gossip

import (
"context"
"errors"
"time"

bloomfilter "github.com/holiman/bloomfilter/v2"
Expand All @@ -20,11 +19,7 @@ import (
"github.com/ava-labs/avalanchego/utils"
)

var (
_ p2p.Handler = (*Handler[Gossipable])(nil)

ErrInvalidID = errors.New("invalid id")
)
var _ p2p.Handler = (*Handler[Gossipable])(nil)

type HandlerConfig struct {
Namespace string
Expand Down

0 comments on commit d2ce17f

Please sign in to comment.