Skip to content

Commit

Permalink
fix: Fix a flag typo in fpcli cfp command (ethereum-optimism#245)
Browse files Browse the repository at this point in the history
  • Loading branch information
choihocheol authored Feb 24, 2024
1 parent 79615ca commit 14514b6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions finality-provider/cmd/fpcli/daemoncmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ var createFpDaemonCmd = cli.Command{
Value: "",
},
cli.StringFlag{
Name: securityContractFlag,
Name: securityContactFlag,
Usage: "An optional email for security contact",
Value: "",
},
Expand Down Expand Up @@ -178,10 +178,10 @@ func getDescriptionFromContext(ctx *cli.Context) (stakingtypes.Description, erro
monikerStr := ctx.String(monikerFlag)
identityStr := ctx.String(identityFlag)
websiteStr := ctx.String(websiteFlag)
securityContractStr := ctx.String(securityContractFlag)
securityContactStr := ctx.String(securityContactFlag)
detailsStr := ctx.String(detailsFlag)

description := stakingtypes.NewDescription(monikerStr, identityStr, websiteStr, securityContractStr, detailsStr)
description := stakingtypes.NewDescription(monikerStr, identityStr, websiteStr, securityContactStr, detailsStr)

return description.EnsureLength()
}
Expand Down
2 changes: 1 addition & 1 deletion finality-provider/cmd/fpcli/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const (
monikerFlag = "moniker"
identityFlag = "identity"
websiteFlag = "website"
securityContractFlag = "security-contract"
securityContactFlag = "security-contact"
detailsFlag = "details"
commissionRateFlag = "commission"
)

0 comments on commit 14514b6

Please sign in to comment.