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

This commit is contained in:
Olaoluwa Osuntokun committed 2018-08-25 17:30:15 -07:00
1 parent 7f480f723c
commit 19552b0dbf
4 files changed
+15

No files matched your search

+4
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 {