Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix struct name in comment #6428

Merged
merged 1 commit into from
Nov 13, 2024
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
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
Loading