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-block-format
Commits
57a3a5db
Commit
57a3a5db
authored
Mar 24, 2017
by
Jeromy
Committed by
Jakub Sztandera
Apr 20, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bubble up updates from go-multihash changes
License: MIT Signed-off-by:
Jeromy
<
jeromyj@gmail.com
>
parent
cb5edc30
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
blocks.go
blocks.go
+3
-3
blocks_test.go
blocks_test.go
+3
-3
No files found.
blocks.go
View file @
57a3a5db
...
@@ -7,9 +7,9 @@ import (
...
@@ -7,9 +7,9 @@ import (
"errors"
"errors"
"fmt"
"fmt"
cid
"gx/ipfs/QmV
5gPoRsjN1Gid3LMdNZTyfCtP2DsvqEbMAmz82RmmiGk/go-cid
"
mh
"gx/ipfs/QmV
GtdTZdTFaLsaj2RwdVG8jcjNNcp1DE914DKZ2kHmXHw/go-multihash
"
u
"gx/ipfs/Qm
ZuY8aV7zbNXVy6DyN9SmnuH3o9nG852F4aTiSBpts8d1
/go-ipfs-util"
u
"gx/ipfs/Qm
Wbjfz3u6HkAdPh34dgPchGbQjob6LXLhAeCGii2TX69n
/go-ipfs-util"
mh
"gx/ipfs/Qm
bZ6Cee2uHjG7hf19qLHppgKDRtaG4CVtMzdmK9VCVqLu/go-multihash
"
cid
"gx/ipfs/Qm
YhQaCYEcaPPjxJX7YcPcVKkQfRy6sJ7B3XmGFk82XYdQ/go-cid
"
)
)
// ErrWrongHash is returned when the Cid of a block is not the expected
// ErrWrongHash is returned when the Cid of a block is not the expected
...
...
blocks_test.go
View file @
57a3a5db
...
@@ -4,9 +4,9 @@ import (
...
@@ -4,9 +4,9 @@ import (
"bytes"
"bytes"
"testing"
"testing"
cid
"gx/ipfs/QmV
5gPoRsjN1Gid3LMdNZTyfCtP2DsvqEbMAmz82RmmiGk/go-cid
"
mh
"gx/ipfs/QmV
GtdTZdTFaLsaj2RwdVG8jcjNNcp1DE914DKZ2kHmXHw/go-multihash
"
u
"gx/ipfs/Qm
ZuY8aV7zbNXVy6DyN9SmnuH3o9nG852F4aTiSBpts8d1
/go-ipfs-util"
u
"gx/ipfs/Qm
Wbjfz3u6HkAdPh34dgPchGbQjob6LXLhAeCGii2TX69n
/go-ipfs-util"
mh
"gx/ipfs/Qm
bZ6Cee2uHjG7hf19qLHppgKDRtaG4CVtMzdmK9VCVqLu/go-multihash
"
cid
"gx/ipfs/Qm
YhQaCYEcaPPjxJX7YcPcVKkQfRy6sJ7B3XmGFk82XYdQ/go-cid
"
)
)
func
TestBlocksBasic
(
t
*
testing
.
T
)
{
func
TestBlocksBasic
(
t
*
testing
.
T
)
{
...
...
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