Skip to content

Commit

Permalink
Update hash.go
Browse files Browse the repository at this point in the history
  • Loading branch information
heeeeeng committed Aug 18, 2020
1 parent 7a7f3ab commit a53bfeb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions og_interface/hash.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ const (
FlagHash32
)

var (
EmptyHash = &Hash32{}
)

func MarshalHash(hash Hash) ([]byte, error) {
return hash.MarshalMsg()
}
Expand Down

0 comments on commit a53bfeb

Please sign in to comment.