Skip to content

Commit

Permalink
blockservice: add compiletime guard for BoundedBlockService on the bl…
Browse files Browse the repository at this point in the history
…ockservice struct
  • Loading branch information
Jorropo committed Jan 15, 2024
1 parent 2f67c04 commit 98c3890
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions blockservice/blockservice.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ type BoundedBlockService interface {
Allowlist() verifcid.Allowlist
}

var _ BoundedBlockService = (*blockService)(nil)

type blockService struct {
allowlist verifcid.Allowlist
blockstore blockstore.Blockstore
Expand Down

0 comments on commit 98c3890

Please sign in to comment.