Update client.go

This commit is contained in:
Ocenka 2025-08-11 13:38:04 +01:00 committed by GitHub
parent 46a8449b6f
commit 6a494f5d9d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -83,7 +83,7 @@ func (c *Client) Start() error {
c.scheduler.Start() c.scheduler.Start()
for _, url := range c.urls { for _, url := range c.urls {
beaconApi := api.NewBeaconLightApi(url, c.customHeader) beaconApi := api.NewBeaconLightApi(url, c.customHeader)
c.scheduler.RegisterServer(request.NewServer(api.NewApiServer(beaconApi), &mclock.System{})) c.scheduler.RegisterServer(request.NewServer(api.NewApiServer(beaconAPI), &mclock.System{}))
} }
return nil return nil
} }