Skip to content

Commit a088340

Browse files
authored
Merge pull request #6428 from wangjingcun/master
chore: fix struct name in comment
2 parents abd8427 + 1896cfd commit a088340

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pkg/util/ffiwrapper/impl/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ type Config struct {
1616
_ struct{} // guard against nameless init
1717
}
1818

19-
//nolint
19+
// nolint
2020
func SealProofTypeFromSectorSize(ssize abi.SectorSize, nv network.Version) (abi.RegisteredSealProof, error) {
2121
switch {
2222
case nv < network.Version7:

pkg/vm/vmcontext/invocation_context.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ func (ctx *invocationContext) stateView() SyscallsStateView {
581581
return newSyscallsStateView(ctx, ctx.vm)
582582
}
583583

584-
// patternContext implements the PatternContext
584+
// patternContext2 implements the PatternContext
585585
type patternContext2 invocationContext
586586

587587
var _ runtime.PatternContext = (*patternContext2)(nil)

venus-shared/actors/types/eth.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,7 @@ type EthFilterSpec struct {
686686
BlockHash *EthHash `json:"blockHash,omitempty"`
687687
}
688688

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

0 commit comments

Comments
 (0)