mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
trie/trienode: lint nits
This commit is contained in:
parent
04efe359d3
commit
e0652343ff
1 changed files with 1 additions and 1 deletions
|
|
@ -32,6 +32,7 @@ func BenchmarkMerge(b *testing.B) {
|
||||||
benchmarkMerge(b, 10_000)
|
benchmarkMerge(b, 10_000)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
func benchmarkMerge(b *testing.B, count int) {
|
func benchmarkMerge(b *testing.B, count int) {
|
||||||
x := NewNodeSet(common.Hash{})
|
x := NewNodeSet(common.Hash{})
|
||||||
y := NewNodeSet(common.Hash{})
|
y := NewNodeSet(common.Hash{})
|
||||||
|
|
@ -57,5 +58,4 @@ func benchmarkMerge(b *testing.B, count int) {
|
||||||
x.Merge(common.Hash{}, y.Nodes)
|
x.Merge(common.Hash{}, y.Nodes)
|
||||||
x = z
|
x = z
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue