Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
neitdung committed Oct 29, 2024
1 parent b21e19d commit 3c6a39c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x/multi-staking/types/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ func AccAddrAndValAddrFromStrings(accAddrString string, valAddrStraing string) (
return accAddr, valAcc, nil
}

func ValidatorAccAddrAndValAddrFromStrings(valAddrStraing string) (sdk.AccAddress, sdk.ValAddress, error) {
valAddr, err := sdk.ValAddressFromBech32(valAddrStraing)
func ValidatorAccAddrAndValAddrFromStrings(valAddrString string) (sdk.AccAddress, sdk.ValAddress, error) {
valAddr, err := sdk.ValAddressFromBech32(valAddrString)
if err != nil {
return sdk.AccAddress{}, sdk.ValAddress{}, err
}
Expand Down

0 comments on commit 3c6a39c

Please sign in to comment.