aboutsummaryrefslogtreecommitdiffstats
path: root/utils/merkletrie/noder
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2021-12-10 06:58:09 +0100
committerGitHub <noreply@github.com>2021-12-10 06:58:09 +0100
commite60e348f614a7272e4a51bdee8ba20f059ca4cce (patch)
tree15e8b08e313251925d95cb327bcf98e8f245f2ee /utils/merkletrie/noder
parent32c4f532abd57797322e97d95dfa02821980e309 (diff)
parent557a1fdcaabd51899b9213175762ed9603409985 (diff)
downloadgo-git-e60e348f614a7272e4a51bdee8ba20f059ca4cce.tar.gz
Merge pull request #418 from abhinav/unused
Remove unused vars/types/funcs/fields
Diffstat (limited to 'utils/merkletrie/noder')
-rw-r--r--utils/merkletrie/noder/noder_test.go14
1 files changed, 0 insertions, 14 deletions
diff --git a/utils/merkletrie/noder/noder_test.go b/utils/merkletrie/noder/noder_test.go
index ccebdc9..c1af998 100644
--- a/utils/merkletrie/noder/noder_test.go
+++ b/utils/merkletrie/noder/noder_test.go
@@ -58,20 +58,6 @@ func childrenFixture() []Noder {
return []Noder{c1, c2}
}
-// Returns the same as nodersFixture but sorted by name, this is: "1",
-// "2" and then "3".
-func sortedNodersFixture() []Noder {
- n1 := &noderMock{
- name: "1",
- hash: []byte{0x00, 0x01, 0x02},
- isDir: true,
- children: childrenFixture(),
- }
- n2 := &noderMock{name: "2"}
- n3 := &noderMock{name: "3"}
- return []Noder{n1, n2, n3} // the same as nodersFixture but sorted by name
-}
-
// returns nodersFixture as the path of "1".
func pathFixture() Path {
return Path(nodersFixture())