mirror of
https://github.com/aljazceru/breez-lnd.git
synced 2025-12-18 22:54:26 +01:00
htlcswitch+funding+discovery: update mock peers to add new QuitSignal method
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user