Skip to content

Commit

Permalink
Update p2p/upgrade.go
Browse files Browse the repository at this point in the history
Co-authored-by: Bartosz Różański <[email protected]>
  • Loading branch information
ivan4th and poszu authored Apr 29, 2024
1 parent 04d5e2f commit 10bafa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2p/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ func (fh *Host) Start() error {
return fmt.Errorf("p2p: can't listen: %w", err)

Check warning on line 387 in p2p/upgrade.go

View check run for this annotation

Codecov / codecov/patch

p2p/upgrade.go#L387

Added line #L387 was not covered by tests
}
if err := fh.discovery.Start(); err != nil {
return fmt.Errorf("error starting discovery: %w", err)
return fmt.Errorf("starting discovery: %w", err)

Check warning on line 390 in p2p/upgrade.go

View check run for this annotation

Codecov / codecov/patch

p2p/upgrade.go#L390

Added line #L390 was not covered by tests
}
if fh.ping != nil {
fh.ping.Start()
Expand Down

0 comments on commit 10bafa8

Please sign in to comment.