use lnwallet's Shutdown method instead of btcwallet's inner Stop
This commit is contained in:
parent
1dfe344c4d
commit
9982bf4c33
@ -247,7 +247,7 @@ func (s *server) Stop() error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
s.rpcServer.Stop()
|
s.rpcServer.Stop()
|
||||||
s.lnwallet.Stop()
|
s.lnwallet.Shutdown()
|
||||||
|
|
||||||
// Signal all the lingering goroutines to quit.
|
// Signal all the lingering goroutines to quit.
|
||||||
close(s.quit)
|
close(s.quit)
|
||||||
|
Loading…
Reference in New Issue
Block a user