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

Commit

Permalink
chore: fix some function names
Browse files Browse the repository at this point in the history
Signed-off-by: stellrust <[email protected]>
  • Loading branch information
stellrust committed Jun 1, 2024
1 parent 48c9b7a commit 1f3ca2f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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

0 comments on commit 1f3ca2f

Please sign in to comment.