htlcswitch+funding+discovery: update mock peers to add new QuitSignal method

This commit is contained in:
Olaoluwa Osuntokun
2018-08-25 17:11:40 -07:00
parent 7f480f723c
commit 19552b0dbf
4 changed files with 15 additions and 0 deletions

View File

@@ -1459,6 +1459,10 @@ type mockPeer struct {
quit chan struct{}
}
func (m *mockPeer) QuitSignal() <-chan struct{} {
return m.quit
}
var _ lnpeer.Peer = (*mockPeer)(nil)
func (m *mockPeer) SendMessage(sync bool, msgs ...lnwire.Message) error {