Skip to content

Commit

Permalink
Fix tests when running with gx-go --replace
Browse files Browse the repository at this point in the history
This is what travis does

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
  • Loading branch information
hsanjuan committed Jan 23, 2017
1 parent 35632e4 commit a41e4fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cid.go
Expand Up @@ -253,7 +253,7 @@ type Prefix struct {
}

func (p Prefix) Sum(data []byte) (*Cid, error) {
hash, err := mh.Sum(data, uint64(p.MhType), p.MhLength)
hash, err := mh.Sum(data, p.MhType, p.MhLength)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit a41e4fc

Please sign in to comment.