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

Commit

Permalink
fix compilation err
Browse files Browse the repository at this point in the history
  • Loading branch information
taryune committed Nov 2, 2023
1 parent 6415c14 commit e54d273
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func CmdExtendTopLevelDomainExpiration() *cobra.Command {
Args: cobra.ExactArgs(2),
RunE: func(cmd *cobra.Command, args []string) (err error) {
argName := args[0]
argRegistrationPeriodInYear, err := cast.ToInt32E(args[1])
argRegistrationPeriodInYear, err := cast.ToInt64E(args[1])
if err != nil {
return err
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const TypeMsgExtendTopLevelDomainExpiration = "extend_top_level_domain_expiratio

var _ sdk.Msg = &MsgExtendTopLevelDomainExpiration{}

func NewMsgExtendTopLevelDomainExpiration(creator string, name string, registrationPeriodInYear int32) *MsgExtendTopLevelDomainExpiration {
func NewMsgExtendTopLevelDomainExpiration(creator string, name string, registrationPeriodInYear int64) *MsgExtendTopLevelDomainExpiration {
return &MsgExtendTopLevelDomainExpiration{
Creator: creator,
Name: name,
Expand Down

0 comments on commit e54d273

Please sign in to comment.