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

@@ -238,6 +238,10 @@ func (s *mockServer) Start() error {
return nil
}
func (s *mockServer) QuitSignal() <-chan struct{} {
return s.quit
}
// mockHopIterator represents the test version of hop iterator which instead
// of encrypting the path in onion blob just stores the path as a list of hops.
type mockHopIterator struct {