Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix function names in comment #3337

Merged
merged 2 commits into from
May 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading