Skip to content

Commit

Permalink
chore: fix function names in comment (#3337)
Browse files Browse the repository at this point in the history
<!--
Thank you for submitting a pull request!

Please make sure you have reviewed our contributors guide before
submitting your
first PR.

Please ensure you've addressed or included references to any related
issues.

Tips:
- Use keywords like "closes" or "fixes" followed by an issue number to
automatically close related issues when the PR is merged (e.g., "closes
#123" or "fixes #123").
- Describe the changes made in the PR.
- Ensure the PR has one of the required tags (kind:fix, kind:misc,
kind:break!, kind:refactor, kind:feat, kind:deps, kind:docs, kind:ci,
kind:chore, kind:testing)

-->

 fix function names in comment

Signed-off-by: studystill <chenghuiyue@outlook.com>
  • Loading branch information
studystill committed May 10, 2024
1 parent 86f4b2a commit 0077df5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/eds_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func TestTrulyEmptySquare(t *testing.T) {
require.True(t, eds.Equals(share.EmptyExtendedDataSquare()))
}

// TestNonZeroSquareSize tests that the DAH hash of a block with no transactions
// TestEmptySquareWithZeroTxs tests that the DAH hash of a block with no transactions
// is equal to the DAH hash for an empty root even if SquareSize is set to
// something non-zero. Technically, this block data is invalid because the
// construction of the square is deterministic, and the rules which dictate the
Expand Down
2 changes: 1 addition & 1 deletion nodebuilder/p2p/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ var networkAliases = map[string]Network{
// orderedNetworks is a list of all known networks in order of priority.
var orderedNetworks = []Network{Mainnet, Mocha, Arabica, Private}

// GetOrderedNetworks provides a list of all known networks in order of priority.
// GetNetworks provides a list of all known networks in order of priority.
func GetNetworks() []Network {
return append([]Network(nil), orderedNetworks...)
}
Expand Down

0 comments on commit 0077df5

Please sign in to comment.