From b0bc4a96320942c0673a3cab08314074edf4b4f9 Mon Sep 17 00:00:00 2001 From: Rob Quist Date: Wed, 20 Dec 2023 01:18:20 +0100 Subject: [PATCH] Fix 2 typo's (#11542) * Fix typo in miner * Fix typo in sectors.go --- cmd/lotus-miner/sectors.go | 2 +- cmd/lotus-shed/miner.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/lotus-miner/sectors.go b/cmd/lotus-miner/sectors.go index 07cc2e795d1..3e4439eb87a 100644 --- a/cmd/lotus-miner/sectors.go +++ b/cmd/lotus-miner/sectors.go @@ -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) { diff --git a/cmd/lotus-shed/miner.go b/cmd/lotus-shed/miner.go index a8bb9374422..2f9b4ecf103 100644 --- a/cmd/lotus-shed/miner.go +++ b/cmd/lotus-shed/miner.go @@ -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,