Skip to content

Commit

Permalink
chg: fix comment on AddressBytesToString method /2
Browse files Browse the repository at this point in the history
  • Loading branch information
marcello33 committed Feb 26, 2024
1 parent cc3c0b1 commit 72a91eb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions x/auth/keeper/grpc_query.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,7 @@ func (s queryServer) AddressBytesToString(ctx context.Context, req *types.Addres
return &types.AddressBytesToStringResponse{AddressString: text}, nil
}

// AddressStringToBytes converts an address from string to bytes, using the
// keeper's hex prefix.
// AddressStringToBytes converts an address from string to bytes
func (s queryServer) AddressStringToBytes(ctx context.Context, req *types.AddressStringToBytesRequest) (*types.AddressStringToBytesResponse, error) {
if req == nil {
return nil, status.Error(codes.InvalidArgument, "empty request")
Expand Down

0 comments on commit 72a91eb

Please sign in to comment.