Skip to content

Commit

Permalink
Merge pull request #6428 from wangjingcun/master
Browse files Browse the repository at this point in the history
chore: fix struct name in comment
  • Loading branch information
simlecode authored Nov 13, 2024
2 parents abd8427 + 1896cfd commit a088340
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/util/ffiwrapper/impl/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type Config struct {
_ struct{} // guard against nameless init
}

//nolint
// nolint
func SealProofTypeFromSectorSize(ssize abi.SectorSize, nv network.Version) (abi.RegisteredSealProof, error) {
switch {
case nv < network.Version7:
Expand Down
2 changes: 1 addition & 1 deletion pkg/vm/vmcontext/invocation_context.go
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ func (ctx *invocationContext) stateView() SyscallsStateView {
return newSyscallsStateView(ctx, ctx.vm)
}

// patternContext implements the PatternContext
// patternContext2 implements the PatternContext
type patternContext2 invocationContext

var _ runtime.PatternContext = (*patternContext2)(nil)
Expand Down
2 changes: 1 addition & 1 deletion venus-shared/actors/types/eth.go
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ type EthFilterSpec struct {
BlockHash *EthHash `json:"blockHash,omitempty"`
}

// EthAddressSpec represents a list of addresses.
// EthAddressList represents a list of addresses.
// The JSON decoding must treat a string as equivalent to an array with one value, for example
// "0x8888f1f195afa192cfee86069858" must be decoded as [ "0x8888f1f195afa192cfee86069858" ]
type EthAddressList []EthAddress
Expand Down

0 comments on commit a088340

Please sign in to comment.