Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
chore: fix function names
Signed-off-by: tianzedavid <cuitianze@aliyun.com>
  • Loading branch information
tianzedavid committed May 1, 2024
commit 5cd0a6c5ac17197414a959d6550617977aad7dcf
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