Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-merkledag
Commits
795a29d5
Commit
795a29d5
authored
Mar 19, 2018
by
Łukasz Magiera
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
misc: Fix a few typos
License: MIT Signed-off-by:
Łukasz Magiera
<
magik6k@gmail.com
>
parent
6598da30
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
raw.go
raw.go
+1
-2
No files found.
raw.go
View file @
795a29d5
...
...
@@ -14,8 +14,7 @@ type RawNode struct {
blocks
.
Block
}
// NewRawNode creates a RawNode using the default sha2-256 hash
// funcition.
// NewRawNode creates a RawNode using the default sha2-256 hash function.
func
NewRawNode
(
data
[]
byte
)
*
RawNode
{
h
:=
u
.
Hash
(
data
)
c
:=
cid
.
NewCidV1
(
cid
.
Raw
,
h
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment