Skip to content

Commit

Permalink
chore: logs
Browse files Browse the repository at this point in the history
  • Loading branch information
thedevbirb committed Oct 31, 2024
1 parent 52d9889 commit 433b7dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builder/relay.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ func (r *RemoteRelay) GetDelegationsForSlot(nextSlot uint64) (types.SignedDelega
ctx, cancel := context.WithTimeout(context.Background(), 2*time.Second)
defer cancel()

log.Info("getting delegations for slot", nextSlot, "endpoint", endpoint)
var dst types.SignedDelegations
code, err := SendHTTPRequest(ctx, *http.DefaultClient, http.MethodGet, endpoint, nil, &dst)
if err != nil {
Expand All @@ -152,7 +153,6 @@ func (r *RemoteRelay) GetDelegationsForSlot(nextSlot uint64) (types.SignedDelega
}

return dst, nil

}

func (r *RemoteRelay) Start() error {
Expand Down

0 comments on commit 433b7dd

Please sign in to comment.