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
2 changes: 1 addition & 1 deletion cmd/lotus-bench/rpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ NOTE: The last two examples will not work until we upgrade urfave dependency (tr
ticker := time.NewTicker(cctx.Duration("watch"))
for {
clearAndPrintReport := func() {
// clear the screen move the curser to the top left
// clear the screen move the cursor to the top left
fmt.Print("\033[2J")
fmt.Printf("\033[%d;%dH", 1, 1)
for i, e := range rpcMethods {
Expand Down
4 changes: 2 additions & 2 deletions cmd/lotus-shed/state-stats.go
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ var statSnapshotCmd = &cli.Command{
},
&cli.BoolFlag{
Name: "pretty",
Usage: "print formated output instead of ldjson",
Usage: "print formatted output instead of ldjson",
Value: false,
},
},
Expand Down Expand Up @@ -641,7 +641,7 @@ to reduce the number of decode operations performed by caching the decoded objec
},
&cli.BoolFlag{
Name: "pretty",
Usage: "print formated output instead of ldjson",
Usage: "print formatted output instead of ldjson",
Value: false,
},
},
Expand Down
2 changes: 1 addition & 1 deletion cmd/tvx/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ func (sg *StateSurgeon) WriteCAR(w io.Writer, roots ...cid.Cid) error {
}

// WriteCARIncluding writes a CAR including only the CIDs that are listed in
// the include set. This leads to an intentially sparse tree with dangling links.
// the include set. This leads to an intentionally sparse tree with dangling links.
func (sg *StateSurgeon) WriteCARIncluding(w io.Writer, include map[cid.Cid]struct{}, roots ...cid.Cid) error {
carWalkFn := func(nd format.Node) (out []*format.Link, err error) {
for _, link := range nd.Links() {
Expand Down
Loading