use lnwallet's Shutdown method instead of btcwallet's inner Stop

This commit is contained in:
Olaoluwa Osuntokun 2016-04-24 12:40:40 -07:00
parent 1dfe344c4d
commit 9982bf4c33

View File

@ -247,7 +247,7 @@ func (s *server) Stop() error {
}
s.rpcServer.Stop()
s.lnwallet.Stop()
s.lnwallet.Shutdown()
// Signal all the lingering goroutines to quit.
close(s.quit)