Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cli/chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -1252,11 +1252,11 @@ var ChainExportRangeCmd = &cli.Command{
}

if head.Height() < tail.Height() {
return errors.New("Height of --head tipset must be greater or equal to the height of the --tail tipset")
return errors.New("height of --head tipset must be greater or equal to the height of the --tail tipset")
}

if !cctx.Bool("internal") {
return errors.New("Non-internal exports are not implemented")
return errors.New("non-internal exports are not implemented")
}

err = api.ChainExportRangeInternal(ctx, head.Key(), tail.Key(), lapi.ChainExportConfig{
Expand Down
8 changes: 4 additions & 4 deletions cli/multisig.go
Original file line number Diff line number Diff line change
Expand Up @@ -526,11 +526,11 @@ var msigApproveCmd = &cli.Command{
}

if cctx.NArg() > 2 && cctx.NArg() < 5 {
return ShowHelp(cctx, fmt.Errorf("usage: msig approve <msig addr> <message ID> <proposer address> <desination> <value>"))
return ShowHelp(cctx, fmt.Errorf("usage: msig approve <msig addr> <message ID> <proposer address> <destination> <value>"))
}

if cctx.NArg() > 5 && cctx.NArg() != 7 {
return ShowHelp(cctx, fmt.Errorf("usage: msig approve <msig addr> <message ID> <proposer address> <desination> <value> [ <method> <params> ]"))
return ShowHelp(cctx, fmt.Errorf("usage: msig approve <msig addr> <message ID> <proposer address> <destination> <value> [ <method> <params> ]"))
}

srv, err := GetFullNodeServices(cctx)
Expand Down Expand Up @@ -663,11 +663,11 @@ var msigCancelCmd = &cli.Command{
}

if cctx.NArg() > 2 && cctx.NArg() < 4 {
return ShowHelp(cctx, fmt.Errorf("usage: msig cancel <msig addr> <message ID> <desination> <value>"))
return ShowHelp(cctx, fmt.Errorf("usage: msig cancel <msig addr> <message ID> <destination> <value>"))
}

if cctx.NArg() > 4 && cctx.NArg() != 6 {
return ShowHelp(cctx, fmt.Errorf("usage: msig cancel <msig addr> <message ID> <desination> <value> [ <method> <params> ]"))
return ShowHelp(cctx, fmt.Errorf("usage: msig cancel <msig addr> <message ID> <destination> <value> [ <method> <params> ]"))
}

srv, err := GetFullNodeServices(cctx)
Expand Down