Stop btcwallet when shutting down lnwallet

This commit is contained in:
Olaoluwa Osuntokun 2015-11-27 18:07:22 -06:00
parent bf1a090d1d
commit bd37f05ad6

@ -253,6 +253,8 @@ func (l *LightningWallet) Stop() error {
return nil
}
l.wallet.Stop()
close(l.quit)
l.wg.Wait()
return nil