From bd37f05ad636b2f28ec9682b711f5e74dbe5e314 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Fri, 27 Nov 2015 18:07:22 -0600 Subject: [PATCH] Stop btcwallet when shutting down lnwallet --- wallet/wallet.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wallet/wallet.go b/wallet/wallet.go index 23f513d8..89ff5aee 100644 --- a/wallet/wallet.go +++ b/wallet/wallet.go @@ -253,6 +253,8 @@ func (l *LightningWallet) Stop() error { return nil } + l.wallet.Stop() + close(l.quit) l.wg.Wait() return nil