diff --git a/cmd/lotus-shed/f3.go b/cmd/lotus-shed/f3.go index 7799505b95b..4f913c5e6d4 100644 --- a/cmd/lotus-shed/f3.go +++ b/cmd/lotus-shed/f3.go @@ -137,11 +137,11 @@ var f3CheckActivationRaw = &cli.Command{ slot, retBytes = retBytes[:32], retBytes[32:] for i := 0; i < 31; i++ { if slot[i] != 0 { - return fmt.Errorf("wrong value for offest (padding): slot[%d] = 0x%x != 0x00", i, slot[i]) + return fmt.Errorf("wrong value for offset (padding): slot[%d] = 0x%x != 0x00", i, slot[i]) } } if slot[31] != 0x40 { - return fmt.Errorf("wrong value for offest : slot[31] = 0x%x != 0x40", slot[31]) + return fmt.Errorf("wrong value for offset : slot[31] = 0x%x != 0x40", slot[31]) } slot, retBytes = retBytes[:32], retBytes[32:] slot = slot[24:32] diff --git a/cmd/lotus-shed/fevmanalytics.go b/cmd/lotus-shed/fevmanalytics.go index 19416b77e12..f1a8981c182 100644 --- a/cmd/lotus-shed/fevmanalytics.go +++ b/cmd/lotus-shed/fevmanalytics.go @@ -237,7 +237,7 @@ var FevmActorsCmd = &cli.Command{ uniquesa := unique(ea) fmt.Println("# of EVM contracts: ", EvmCount) - fmt.Println("# of unqiue EVM contracts: ", len(uniquesa)) + fmt.Println("# of unique EVM contracts: ", len(uniquesa)) fmt.Println("b# of Eth accounts: ", EthAccountCount) fmt.Println("# of placeholder: ", PlaceholderCount) return nil diff --git a/cmd/lotus-shed/keyinfo.go b/cmd/lotus-shed/keyinfo.go index d6c0f499c8b..43890a7d0dd 100644 --- a/cmd/lotus-shed/keyinfo.go +++ b/cmd/lotus-shed/keyinfo.go @@ -54,7 +54,7 @@ var keyinfoCmd = &cli.Command{ var keyinfoVerifyCmd = &cli.Command{ Name: "verify", Usage: "verify the filename of a keystore object on disk with it's contents", - Description: `Keystore objects are base32 enocded strings, with wallets being dynamically named via + Description: `Keystore objects are base32 encoded strings, with wallets being dynamically named via the wallet address. This command can ensure that the naming of these keystore objects are correct`, Action: func(cctx *cli.Context) error { filePath := cctx.Args().First() @@ -344,14 +344,14 @@ var keyinfoNewCmd = &cli.Command{ string value, and a base64 encoded private key. Both the bls and secp256k1 keyfiles can be imported into a running lotus daemon using - the 'lotus wallet import' command. Or imported to a non-running / unitialized repo using + the 'lotus wallet import' command. Or imported to a non-running / uninitialized repo using the 'lotus-shed keyinfo import' command. Libp2p host keys can only be imported using lotus-shed as lotus itself does not provide this functionality at the moment.`, Flags: []cli.Flag{ &cli.StringFlag{ Name: "output", Value: "-.keyinfo", - Usage: "output file formt", + Usage: "output file format", }, &cli.BoolFlag{ Name: "silent", diff --git a/paychmgr/simple.go b/paychmgr/simple.go index 0c0c1dba137..9b8706c51ba 100644 --- a/paychmgr/simple.go +++ b/paychmgr/simple.go @@ -742,7 +742,7 @@ func (pm *Manager) restartPending(ctx context.Context) error { return group.Wait() } -// getPaychWaitReady waits for a the response to the message with the given cid +// getPaychWaitReady waits for the response to the message with the given cid func (ca *channelAccessor) getPaychWaitReady(ctx context.Context, mcid cid.Cid) (address.Address, error) { ca.lk.Lock()