mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 18:02:24 +00:00
common: pr updates
This commit is contained in:
parent
1e61e5dcd3
commit
9e384f5658
1 changed files with 0 additions and 5 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue