Skip to content

Commit

Permalink
feat: boot api follow previous behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-bisonai committed Jun 8, 2024
1 parent 4e65405 commit 0ced283
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/pkg/boot/peer/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func sync(c *fiber.Ctx) error {
return c.Status(fiber.StatusBadRequest).SendString("Failed to validate request")
}

h, err := libp2pSetup.NewHost(c.Context(), libp2pSetup.WithHolePunch(), libp2pSetup.WithQuic())
h, err := libp2pSetup.NewHost(c.Context(), libp2pSetup.WithHolePunch(), libp2pSetup.WithPort(0))
if err != nil {
log.Error().Err(err).Msg("Failed to make host")
return c.Status(fiber.StatusInternalServerError).SendString("Failed to make host")
Expand Down

0 comments on commit 0ced283

Please sign in to comment.