From 09b81e768d27c33b344f791382304cda96cb2105 Mon Sep 17 00:00:00 2001 From: Gus Eggert Date: Wed, 13 Oct 2021 22:06:36 -0400 Subject: [PATCH] feat: add context to interface --- interface.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface.go b/interface.go index c3032b2..7640c57 100644 --- a/interface.go +++ b/interface.go @@ -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