Skip to content
This repository has been archived by the owner on Jun 9, 2024. It is now read-only.

chore: fix some function names #1594

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion cosmos/precompile/distribution/distribution.go
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ func (c *Contract) GetTotalDelegatorReward(
return amount, nil
}

// ConvertValAddressFromBech32 converts a Cosmos string representing a validator address to a
// ConvertValAddressFromString converts a Cosmos string representing a validator address to a
// common.Address.
func (c *Contract) ConvertValAddressFromString(attributeValue string) (any, error) {
// extract the sdk.ValAddress from string value as common.Address
Expand Down
2 changes: 1 addition & 1 deletion cosmos/precompile/governance/governance.go
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ func (c *Contract) GetProposalDepositsByDepositor(
return deposits, nil
}

// GetProposalVotes is the method for the `getProposalVotes` method of the
// GetProposalTallyResult is the method for the `getProposalVotes` method of the
// governance precompile contract.
func (c *Contract) GetProposalTallyResult(
ctx context.Context,
Expand Down
Loading