From 9e384f56588ab35858fc9d598a9c37f2540b6991 Mon Sep 17 00:00:00 2001 From: kiel barry Date: Mon, 14 May 2018 10:18:55 -0700 Subject: [PATCH] common: pr updates --- common/types.go | 5 ----- 1 file changed, 5 deletions(-) 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