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
5029bc3e
Commit
5029bc3e
authored
Feb 02, 2017
by
Jeromy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update go-multihash and bubble up deps
License: MIT Signed-off-by:
Jeromy
<
jeromyj@gmail.com
>
parent
19edf334
Changes
2
Hide 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 @
5029bc3e
...
...
@@ -6,9 +6,9 @@ import (
"errors"
"fmt"
mh
"gx/ipfs/Qm
YDds3421prZgqKbLpEK7T9Aa2eVdQ7o3YarX1LVLdP2J/go-multihash
"
u
"gx/ipfs/Qm
b912gdngC1UWwTkhuW8knyRbcWeu5kqkxBpveLmW8bSr
/go-ipfs-util"
cid
"gx/ipfs/Qm
cTcsTvfaeEBRFo1TkFgT8sRmgi1n1LTZpecfVP8fzpGD/go-cid
"
cid
"gx/ipfs/Qm
V5gPoRsjN1Gid3LMdNZTyfCtP2DsvqEbMAmz82RmmiGk/go-cid
"
u
"gx/ipfs/Qm
ZuY8aV7zbNXVy6DyN9SmnuH3o9nG852F4aTiSBpts8d1
/go-ipfs-util"
mh
"gx/ipfs/Qm
bZ6Cee2uHjG7hf19qLHppgKDRtaG4CVtMzdmK9VCVqLu/go-multihash
"
)
var
ErrWrongHash
=
errors
.
New
(
"data did not match given hash!"
)
...
...
blocks_test.go
View file @
5029bc3e
...
...
@@ -4,9 +4,9 @@ import (
"bytes"
"testing"
mh
"gx/ipfs/Qm
YDds3421prZgqKbLpEK7T9Aa2eVdQ7o3YarX1LVLdP2J/go-multihash
"
u
"gx/ipfs/Qm
b912gdngC1UWwTkhuW8knyRbcWeu5kqkxBpveLmW8bSr
/go-ipfs-util"
cid
"gx/ipfs/Qm
cTcsTvfaeEBRFo1TkFgT8sRmgi1n1LTZpecfVP8fzpGD/go-cid
"
cid
"gx/ipfs/Qm
V5gPoRsjN1Gid3LMdNZTyfCtP2DsvqEbMAmz82RmmiGk/go-cid
"
u
"gx/ipfs/Qm
ZuY8aV7zbNXVy6DyN9SmnuH3o9nG852F4aTiSBpts8d1
/go-ipfs-util"
mh
"gx/ipfs/Qm
bZ6Cee2uHjG7hf19qLHppgKDRtaG4CVtMzdmK9VCVqLu/go-multihash
"
)
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