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

@@ -2181,3 +2181,6 @@ func (p *mockPeer) PubKey() [33]byte {
return pubkey
}
func (p *mockPeer) Address() net.Addr { return nil }
func (p *mockPeer) QuitSignal() <-chan struct{} {
return p.quit
}