Skip to content

Commit

Permalink
3
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikita Neznaemov committed Mar 27, 2024
1 parent 9e46cc9 commit a1e8d07
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions observer/channel_peer_mock.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ type ChannelPeerMock struct {
channelsInfo map[string]*ChannelInfo
}

func (m *ChannelPeerMock) Uri() string {
return "mock"
}

func NewChannelPeerMock(channelsInfo ...*ChannelInfo) *ChannelPeerMock {
channels := make(map[string]*ChannelInfo, len(channelsInfo))
for _, channelInfo := range channelsInfo {
Expand Down

0 comments on commit a1e8d07

Please sign in to comment.