From 1b9178f9538b24947ab602e20ee143aa4dc2236c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Mur=C3=A9?= Date: Wed, 13 Jul 2022 16:28:04 +0200 Subject: [PATCH] remove IsOnline() as it's not used anywhere This commit was moved from ipfs/go-ipfs-exchange-interface@1181846dc171626f47c736bf66f031264fb755e1 --- exchange/interface.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/exchange/interface.go b/exchange/interface.go index 0d98750b5..2c04628e3 100644 --- a/exchange/interface.go +++ b/exchange/interface.go @@ -16,8 +16,6 @@ type Interface interface { // type Exchanger interface // NotifyNewBlocks tells the exchange that new blocks are available and can be served. NotifyNewBlocks(ctx context.Context, blocks ...blocks.Block) error - IsOnline() bool - io.Closer }