diff --git a/client.go b/client.go index a67a2a9..1f3e9ba 100644 --- a/client.go +++ b/client.go @@ -440,8 +440,8 @@ func (c *Client) getLatestBlockHash(ctx context.Context) (string, error) { return resp.AzimuthGetSyncStatus.LatestProcessedBlockHash, nil } -// validateStarSponsorship validates that a star is sponsored by the expected galaxy -func (c *Client) validateStarSponsorship(ctx context.Context, starID uint32, expectedGalaxyID uint32) error { +// ValidateStarSponsorship validates that a star is sponsored by the expected galaxy +func (c *Client) ValidateStarSponsorship(ctx context.Context, starID uint32, expectedGalaxyID uint32) error { hasSponsor, err := c.HasSponsor(ctx, starID) if err != nil { return fmt.Errorf("failed to get sponsor: %w", err)