From ebda3c73aef0cb45824b037ee09209a017e8b89e Mon Sep 17 00:00:00 2001 From: Jeromy Date: Thu, 2 Feb 2017 18:53:32 -0800 Subject: [PATCH] actually update multihash package --- cid.go | 4 ++-- package.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cid.go b/cid.go index 896391c..fd785d6 100644 --- a/cid.go +++ b/cid.go @@ -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 } diff --git a/package.json b/package.json index d12cf6d..5274fc0 100644 --- a/package.json +++ b/package.json @@ -9,9 +9,9 @@ "gxDependencies": [ { "author": "whyrusleeping", - "hash": "QmYDds3421prZgqKbLpEK7T9Aa2eVdQ7o3YarX1LVLdP2J", + "hash": "QmbZ6Cee2uHjG7hf19qLHppgKDRtaG4CVtMzdmK9VCVqLu", "name": "go-multihash", - "version": "1.0.0" + "version": "1.0.2" }, { "author": "whyrusleeping",