Skip to content

Commit

Permalink
delete useless code
Browse files Browse the repository at this point in the history
delete useless code
  • Loading branch information
ningmingxiao authored and rvagg committed Feb 15, 2022
1 parent f8bbbf7 commit fa6d623
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions marshal.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,6 @@ func AppendEncode(enc []byte, inNode ipld.Node) ([]byte, error) {
if err != nil {
return enc, err
}
if err != nil {
return enc, err
}
cl, ok := l.(cidlink.Link)
if !ok {
// this _should_ be taken care of by the Typed conversion above with
Expand Down

0 comments on commit fa6d623

Please sign in to comment.