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 cmd/lotus-shed/f3.go
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion cmd/lotus-shed/fevmanalytics.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions cmd/lotus-shed/keyinfo.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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: "<type>-<addr>.keyinfo",
Usage: "output file formt",
Usage: "output file format",
},
&cli.BoolFlag{
Name: "silent",
Expand Down
2 changes: 1 addition & 1 deletion paychmgr/simple.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down
Loading