Skip to content

Commit

Permalink
chore: fix function names
Browse files Browse the repository at this point in the history
Signed-off-by: tianzedavid <[email protected]>
  • Loading branch information
tianzedavid committed May 1, 2024
1 parent 7914b59 commit 5cd0a6c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/v2/algod/algod.go
Original file line number Diff line number Diff line change
Expand Up @@ -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, assumes msgpack response
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)
}
Expand Down
2 changes: 1 addition & 1 deletion client/v2/indexer/indexer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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, assumes msgpack response
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)
}
Expand Down
2 changes: 1 addition & 1 deletion transaction/transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ func byte32FromBase64(in string) (out [32]byte, err error) {
return
}

// byte32FromBase64 decodes the input base64 string and outputs a
// byte64FromBase64 decodes the input base64 string and outputs a
// 64 byte array, erroring if the input is the wrong length.
func byte64FromBase64(in string) (out [64]byte, err error) {
slice, err := base64.StdEncoding.DecodeString(in)
Expand Down

0 comments on commit 5cd0a6c

Please sign in to comment.