diff --git a/client/v2/algod/algod.go b/client/v2/algod/algod.go index 36a6737d..cea84f2a 100644 --- a/client/v2/algod/algod.go +++ b/client/v2/algod/algod.go @@ -27,7 +27,7 @@ func (c *Client) getMsgpack(ctx context.Context, response interface{}, path stri return (*common.Client)(c).GetRawMsgpack(ctx, response, path, body, headers) } -// getMsgpack performs a GET request to the specific path against the server, assumes msgpack response +// getRaw performs a GET request to the specific path against the server, returning the raw response bytes func (c *Client) getRaw(ctx context.Context, path string, body interface{}, headers []*common.Header) ([]byte, error) { return (*common.Client)(c).GetRaw(ctx, path, body, headers) } diff --git a/client/v2/indexer/indexer.go b/client/v2/indexer/indexer.go index e0e5cf2c..d492a4a6 100644 --- a/client/v2/indexer/indexer.go +++ b/client/v2/indexer/indexer.go @@ -26,7 +26,7 @@ func (c *Client) getMsgpack(ctx context.Context, response interface{}, path stri return (*common.Client)(c).GetRawMsgpack(ctx, response, path, body, headers) } -// getMsgpack performs a GET request to the specific path against the server, assumes msgpack response +// getRaw performs a GET request to the specific path against the server, returning the raw response bytes func (c *Client) getRaw(ctx context.Context, path string, body interface{}, headers []*common.Header) ([]byte, error) { return (*common.Client)(c).GetRaw(ctx, path, body, headers) }