diff --git a/assets/v2/assets/publicclient.go b/assets/v2/assets/publicclient.go index 3bfa319..df3a9a1 100644 --- a/assets/v2/assets/publicclient.go +++ b/assets/v2/assets/publicclient.go @@ -9,8 +9,8 @@ type PublicClient struct { Client PublicAssetsClient } -func NewPublicClient(log Logger, address string, opts ...ClientOption) *Client { - return &Client{ +func NewPublicClient(log Logger, address string, opts ...ClientOption) *PublicClient { + return &PublicClient{ g: grpcclient.New(log, "publicassetsv2", address, opts...), } }