diff --git a/api/api_full.go b/api/api_full.go index a9dcf7e4f17..f0c39250272 100644 --- a/api/api_full.go +++ b/api/api_full.go @@ -318,7 +318,7 @@ type FullNode interface { // MpoolBatchPushUntrusted batch pushes a signed message to mempool from untrusted sources. MpoolBatchPushUntrusted(context.Context, []*types.SignedMessage) ([]cid.Cid, error) //perm:write - // MpoolBatchPushMessage batch pushes a unsigned message to mempool. + // MpoolBatchPushMessage batch pushes an unsigned message to mempool. MpoolBatchPushMessage(context.Context, []*types.Message, *MessageSendSpec) ([]*types.SignedMessage, error) //perm:sign // MpoolCheckMessages performs logical checks on a batch of messages diff --git a/api/v0api/full.go b/api/v0api/full.go index 5a8479654e4..7b5dc92f578 100644 --- a/api/v0api/full.go +++ b/api/v0api/full.go @@ -245,7 +245,7 @@ type FullNode interface { // MpoolBatchPushUntrusted batch pushes a signed message to mempool from untrusted sources. MpoolBatchPushUntrusted(context.Context, []*types.SignedMessage) ([]cid.Cid, error) //perm:write - // MpoolBatchPushMessage batch pushes a unsigned message to mempool. + // MpoolBatchPushMessage batch pushes an unsigned message to mempool. MpoolBatchPushMessage(context.Context, []*types.Message, *api.MessageSendSpec) ([]*types.SignedMessage, error) //perm:sign // MpoolGetNonce gets next nonce for the specified sender. diff --git a/chain/exchange/protocol_encoding.go b/chain/exchange/protocol_encoding.go index dee9359dd5f..70fedbd3019 100644 --- a/chain/exchange/protocol_encoding.go +++ b/chain/exchange/protocol_encoding.go @@ -11,7 +11,7 @@ import ( types "github.com/filecoin-project/lotus/chain/types" ) -// CompactedMessagesCBOR is used for encoding/decoding compacted messages. This is a ustom type as we need custom limits. +// CompactedMessagesCBOR is used for encoding/decoding compacted messages. This is a custom type as we need custom limits. // - Max messages is 150,000 as that's 15 times the max block size (in messages). It needs to be // large enough to cover a full tipset full of full blocks. type CompactedMessagesCBOR struct { diff --git a/cli/spcli/actor.go b/cli/spcli/actor.go index ed4ce2fe280..f25b9251421 100644 --- a/cli/spcli/actor.go +++ b/cli/spcli/actor.go @@ -1508,7 +1508,7 @@ var ActorNewMinerCmd = &cli.Command{ var owner address.Address if cctx.String("owner") == "" { - return xerrors.Errorf("must provide a owner address") + return xerrors.Errorf("must provide an owner address") } owner, err = address.NewFromString(cctx.String("owner"))