Skip to content

Commit

Permalink
address code review
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
  • Loading branch information
whyrusleeping committed Sep 1, 2017
1 parent 7c7036e commit 3e73bba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions merkledag.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,8 @@ func (sg *sesGetter) Get(ctx context.Context, c *cid.Cid) (node.Node, error) {
return nil, ErrNotFound
default:
return nil, err
case nil:
// noop
}

return node.Decode(blk)
Expand Down

0 comments on commit 3e73bba

Please sign in to comment.