From 3bb71252cec6864eb012094333920726f168674e Mon Sep 17 00:00:00 2001 From: John Hyde Date: Thu, 11 Sep 2025 18:28:40 -0700 Subject: [PATCH] making validation function public --- client.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)