Stop btcwallet when shutting down lnwallet
This commit is contained in:
1 parent
bf1a090d1d
commit
bd37f05ad6
1 file changed
+2
@@ -253,6 +253,8 @@ func (l *LightningWallet) Stop() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
l.wallet.Stop()
|
||||
|
||||
close(l.quit)
|
||||
l.wg.Wait()
|
||||
return nil
|
||||
|
||||
Reference in new issue
Block a user