Skip to content

Commit

Permalink
Fix 2 typo's (filecoin-project#11542)
Browse files Browse the repository at this point in the history
* Fix typo in miner

* Fix typo in sectors.go
  • Loading branch information
RobQuistNL authored Dec 20, 2023
1 parent bfc26cd commit b0bc4a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/lotus-miner/sectors.go
Original file line number Diff line number Diff line change
Expand Up @@ -2290,7 +2290,7 @@ var sectorsCompactPartitionsCmd = &cli.Command{
if len(parts) <= 0 {
return fmt.Errorf("must include at least one partition to compact")
}
fmt.Printf("compacting %d paritions\n", len(parts))
fmt.Printf("compacting %d partitions\n", len(parts))

var makeMsgForPartitions func(partitionsBf bitfield.BitField) ([]*types.Message, error)
makeMsgForPartitions = func(partitionsBf bitfield.BitField) ([]*types.Message, error) {
Expand Down
2 changes: 1 addition & 1 deletion cmd/lotus-shed/miner.go
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ var sendInvalidWindowPoStCmd = &cli.Command{
return xerrors.Errorf("serializing params: %w", err)
}

fmt.Printf("submitting bad PoST for %d paritions\n", len(partitionIndices))
fmt.Printf("submitting bad PoST for %d partitions\n", len(partitionIndices))
smsg, err := api.MpoolPushMessage(ctx, &types.Message{
From: minfo.Worker,
To: maddr,
Expand Down

0 comments on commit b0bc4a9

Please sign in to comment.