Commit 1f96eae2 authored by Whyrusleeping's avatar Whyrusleeping Committed by GitHub

Merge pull request #4835 from ipfs/fix/typos

misc: Fix a few typos
parents ecd4b16f 795a29d5
...@@ -14,8 +14,7 @@ type RawNode struct { ...@@ -14,8 +14,7 @@ type RawNode struct {
blocks.Block blocks.Block
} }
// NewRawNode creates a RawNode using the default sha2-256 hash // NewRawNode creates a RawNode using the default sha2-256 hash function.
// funcition.
func NewRawNode(data []byte) *RawNode { func NewRawNode(data []byte) *RawNode {
h := u.Hash(data) h := u.Hash(data)
c := cid.NewCidV1(cid.Raw, h) c := cid.NewCidV1(cid.Raw, h)
......
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