Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 04bfa05

Browse files
committedAug 18, 2015
blockservice.New doesnt return an error anymore
License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>
1 parent 77c2340 commit 04bfa05

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed
 

‎core/builder.go

-4
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,6 @@ func NewNode(ctx context.Context, cfg *BuildCfg) (*IpfsNode, error) {
136136
}
137137

138138
n.Blocks = bserv.New(n.Blockstore, n.Exchange)
139-
if err != nil {
140-
return nil, err
141-
}
142-
143139
n.DAG = dag.NewDAGService(n.Blocks)
144140
n.Pinning, err = pin.LoadPinner(n.Repo.Datastore(), n.DAG)
145141
if err != nil {

0 commit comments

Comments
 (0)
Please sign in to comment.