Commit 0a8f8e30 authored by Hector Sanjuan's avatar Hector Sanjuan

Golint merkledag_test.go

License: MIT
Signed-off-by: default avatarHector Sanjuan <hector@protocol.ai>
parent 331b83e3
......@@ -133,7 +133,7 @@ func TestBatchFetchDupBlock(t *testing.T) {
func makeTestDAG(t *testing.T, read io.Reader, ds ipld.DAGService) ipld.Node {
p := make([]byte, 512)
nodes := []*ProtoNode{}
var err error = nil
var err error
_, err = read.Read(p)
for err == nil {
protoNode := NodeWithData(p)
......
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