mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-28 05:57:50 +02:00
htlcswitch+funding+discovery: update mock peers to add new QuitSignal method
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user