Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dean65 committed Apr 28, 2022
1 parent 7490499 commit 8929510
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions eth/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,9 @@ func newHandler(config *handlerConfig) (*handler, error) {
if config.EventMux == nil {
config.EventMux = new(event.TypeMux) // Nicety initialization for tests
}
if config.PeerSet == nil {
config.PeerSet = newPeerSet() // Nicety initialization for tests
}
h := &handler{
networkID: config.Network,
forkFilter: forkid.NewFilter(config.Chain),
Expand Down

0 comments on commit 8929510

Please sign in to comment.