Skip to content
This repository has been archived by the owner on Jun 26, 2023. It is now read-only.

Commit

Permalink
feat: add context to interface (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
guseggert authored Oct 28, 2021
1 parent 877d0e0 commit 09692a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type Interface interface { // type Exchanger interface

// TODO Should callers be concerned with whether the block was made
// available on the network?
HasBlock(blocks.Block) error
HasBlock(context.Context, blocks.Block) error

IsOnline() bool

Expand Down

0 comments on commit 09692a6

Please sign in to comment.