diff --git a/common/types.go b/common/types.go index 2d6a5ce48e..12c26d94bc 100644 --- a/common/types.go +++ b/common/types.go @@ -119,11 +119,6 @@ func (h Hash) Generate(rand *rand.Rand, size int) reflect.Value { return reflect.ValueOf(h) } -// EmptyHash checks whether h is the zero hash. -func EmptyHash(h Hash) bool { - return h == Hash{} -} - // UnprefixedHash allows marshaling a Hash without 0x prefix. type UnprefixedHash Hash