Skip to content

Commit

Permalink
Fix README.md example error (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
susarlanikhilesh authored Oct 19, 2022
1 parent 350d6af commit 823c6b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ import (
// Create a cid manually by specifying the 'prefix' parameters
pref := cid.Prefix{
Version: 1,
Codec: mc.Raw,
Codec: uint64(mc.Raw),
MhType: mh.SHA2_256,
MhLength: -1, // default length
}
Expand Down

0 comments on commit 823c6b8

Please sign in to comment.