Skip to content

Commit

Permalink
sia: remove cid panic
Browse files Browse the repository at this point in the history
  • Loading branch information
n8maninger committed Nov 23, 2023
1 parent 9b627e4 commit ff79cff
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions sia/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,6 @@ func (bs *RenterdBlockStore) Get(ctx context.Context, c cid.Cid) (blocks.Block,
Cid: link.CID,
})
}
if actual := node.Cid(); !actual.Equals(c) {
panic(fmt.Errorf("unexpected cid: requested %q got %q", c.String(), actual.String())) // developer error
}
return node, nil
}

Expand Down

0 comments on commit ff79cff

Please sign in to comment.