Commit 9ebc81c5 authored by Juan Batiz-Benet's avatar Juan Batiz-Benet

global hash func

parent fc23250f
......@@ -72,7 +72,7 @@ func (n *Node) Multihash() (mh.Multihash, error) {
return nil, err
}
return mh.Sum(b, mh.SHA2_256, -1)
return u.Hash(b)
}
func (n *Node) Key() (u.Key, error) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment