Skip to content

Commit

Permalink
chore: fix struct name in comment
Browse files Browse the repository at this point in the history
Signed-off-by: wangjingcun <[email protected]>
  • Loading branch information
wangjingcun committed Nov 12, 2024
1 parent abd8427 commit 1896cfd
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 1896cfd

Please sign in to comment.