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