mirror of https://github.com/BTCPrivate/lnd.git
htlcswitch: sync mock server shutdown of switch
This commit is contained in:
parent
13b78fea1f
commit
8930b4e481
|
@ -330,7 +330,7 @@ func (s *mockServer) Stop() {
|
|||
return
|
||||
}
|
||||
|
||||
go s.htlcSwitch.Stop()
|
||||
s.htlcSwitch.Stop()
|
||||
|
||||
close(s.quit)
|
||||
s.wg.Wait()
|
||||
|
|
Loading…
Reference in New Issue