trie/trienode: lint nits

This commit is contained in:
Martin Holst Swende 2024-04-30 10:31:26 +02:00
parent 04efe359d3
commit e0652343ff
No known key found for this signature in database
GPG key ID: 683B438C05A5DDF0

View file

@ -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
} }
} }