Skip to content

Commit ece5b42

Browse files
authored
chore: fix function names in comment (#1640)
<!-- Please read and fill out this form before submitting your PR. Please make sure you have reviewed our contributors guide before submitting your first PR. NOTE: PR titles should follow semantic commits: https://www.conventionalcommits.org/en/v1.0.0/ --> ## Overview fix function names in comment <!-- Please provide an explanation of the PR, including the appropriate context, background, goal, and rationale. If there is an issue with this information, please provide a tl;dr and link the issue. Ex: Closes #<issue number> --> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Refactor** - Renamed functions and methods to improve clarity and semantic meaning. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: studystill <[email protected]>
1 parent 68af784 commit ece5b42

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

node/node_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ func cleanUpNode(node Node, t *testing.T) {
8888
assert.False(t, node.IsRunning())
8989
}
9090

91-
// initializeAndStartNode initializes and starts a node of the specified type.
91+
// initAndStartNodeWithCleanup initializes and starts a node of the specified type.
9292
func initAndStartNodeWithCleanup(ctx context.Context, t *testing.T, nodeType NodeType) Node {
9393
node, _ := setupTestNode(ctx, t, nodeType)
9494
startNodeWithCleanup(t, node)

third_party/celestia-app/shares/shares.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ func (s *Share) RawData() (rawData []byte, err error) {
194194
return s.data[s.rawDataStartIndex():], nil
195195
}
196196

197-
// RawDataWithReserved returns the raw share data while taking reserved bytes into account.
197+
// RawDataUsingReserved returns the raw share data while taking reserved bytes into account.
198198
func (s *Share) RawDataUsingReserved() (rawData []byte, err error) {
199199
rawDataStartIndexUsingReserved, err := s.rawDataStartIndexUsingReserved()
200200
if err != nil {

0 commit comments

Comments
 (0)