Shed: fix error message

This commit is contained in:
Aayush Rajasekaran 2022-03-17 12:24:32 -04:00 committed by GitHub
parent b366e2c91f
commit e1c7f30e60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -379,7 +379,7 @@ var mmProposeChangeWorker = &cli.Command{
ArgsUsage: "[newWorker]",
Action: func(cctx *cli.Context) error {
if !cctx.Args().Present() {
return fmt.Errorf("must pass new owner address")
return fmt.Errorf("must pass new worker address")
}
api, closer, err := lcli.GetFullNodeAPI(cctx)
@ -476,7 +476,7 @@ var mmConfirmChangeWorker = &cli.Command{
ArgsUsage: "[newWorker]",
Action: func(cctx *cli.Context) error {
if !cctx.Args().Present() {
return fmt.Errorf("must pass new owner address")
return fmt.Errorf("must pass new worker address")
}
api, closer, err := lcli.GetFullNodeAPI(cctx)