Skip to content

Commit

Permalink
chore: fix some function names
Browse files Browse the repository at this point in the history
  • Loading branch information
yumeiyin committed May 23, 2024
1 parent 4dd92ba commit 4372908
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/chain/testing.go
Original file line number Diff line number Diff line change
Expand Up @@ -906,7 +906,7 @@ func (f *Builder) LoadSignedMessagesFromCids(ctx context.Context, secpCids []cid
return f.mstore.LoadSignedMessagesFromCids(ctx, secpCids)
}

// LoadMessages returns the message collections tracked by the builder.
// LoadMetaMessages returns the message collections tracked by the builder.
func (f *Builder) LoadMetaMessages(ctx context.Context, metaCid cid.Cid) ([]*types.SignedMessage, []*types.Message, error) {
return f.mstore.LoadMetaMessages(ctx, metaCid)
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/chainsync/syncer/syncer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ func (pv *poisonValidator) ValidateHeaderSemantic(_ context.Context, header *typ
return nil
}

// ValidateHeaderSemantic is a stub that always returns no error
// ValidateMessagesSemantic is a stub that always returns no error
func (pv *poisonValidator) ValidateMessagesSemantic(_ context.Context, _ *types.BlockHeader, _ *types.TipSet) error {
return nil
}
Expand Down

0 comments on commit 4372908

Please sign in to comment.