diff --git a/observer/peer_channels.go b/observer/peer_channels.go index 980d0d0..93402fd 100644 --- a/observer/peer_channels.go +++ b/observer/peer_channels.go @@ -18,6 +18,12 @@ import ( const DefaultPeerChannelsRefreshPeriod = 30 * time.Second type ( + PeerChannelsFetcherAndBlockDeliverer interface { + PeerChannelsFetcher + api.BlocksDeliverer + api.ParsedBlocksDeliverer + } + PeerChannelsGetter interface { URI() string Channels() map[string]*ChannelInfo