actually update multihash package

This commit is contained in:
Jeromy
2017-02-02 18:53:32 -08:00
parent 03f8d08574
commit ebda3c73ae
2 changed files with 4 additions and 4 deletions

4
cid.go
View File

@@ -248,7 +248,7 @@ func (c *Cid) Prefix() Prefix {
type Prefix struct {
Version uint64
Codec uint64
MhType int
MhType uint64
MhLength int
}
@@ -302,7 +302,7 @@ func PrefixFromBytes(buf []byte) (Prefix, error) {
return Prefix{
Version: vers,
Codec: codec,
MhType: int(mhtype),
MhType: mhtype,
MhLength: int(mhlen),
}, nil
}

View File

@@ -9,9 +9,9 @@
"gxDependencies": [
{
"author": "whyrusleeping",
"hash": "QmYDds3421prZgqKbLpEK7T9Aa2eVdQ7o3YarX1LVLdP2J",
"hash": "QmbZ6Cee2uHjG7hf19qLHppgKDRtaG4CVtMzdmK9VCVqLu",
"name": "go-multihash",
"version": "1.0.0"
"version": "1.0.2"
},
{
"author": "whyrusleeping",