Skip to content

Commit 9194408

Browse files
tianzedavidd13co
authored andcommitted
chore: fix function names (algorand#632)
Signed-off-by: tianzedavid <cuitianze@aliyun.com>
1 parent fdcedea commit 9194408

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

client/v2/algod/algod.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ func (c *Client) getMsgpack(ctx context.Context, response interface{}, path stri
2727
return (*common.Client)(c).GetRawMsgpack(ctx, response, path, body, headers)
2828
}
2929

30-
// getMsgpack performs a GET request to the specific path against the server, assumes msgpack response
30+
// getRaw performs a GET request to the specific path against the server, assumes msgpack response
3131
func (c *Client) getRaw(ctx context.Context, path string, body interface{}, headers []*common.Header) ([]byte, error) {
3232
return (*common.Client)(c).GetRaw(ctx, path, body, headers)
3333
}

client/v2/indexer/indexer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ func (c *Client) getMsgpack(ctx context.Context, response interface{}, path stri
2626
return (*common.Client)(c).GetRawMsgpack(ctx, response, path, body, headers)
2727
}
2828

29-
// getMsgpack performs a GET request to the specific path against the server, assumes msgpack response
29+
// getRaw performs a GET request to the specific path against the server, assumes msgpack response
3030
func (c *Client) getRaw(ctx context.Context, path string, body interface{}, headers []*common.Header) ([]byte, error) {
3131
return (*common.Client)(c).GetRaw(ctx, path, body, headers)
3232
}

transaction/transaction.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ func byte32FromBase64(in string) (out [32]byte, err error) {
556556
return
557557
}
558558

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

0 commit comments

Comments
 (0)