lnd/walletunlocker
Oliver Gugger ad0dbb1c15
walletunlocker: re-create loader after unloading wallet
Because the wallet loader sets its internal database reference to nil
when unloading a wallet, it cannot be loaded again in case of a remote
DB such as etcd or postgres. To avoid running into a nil pointer panic
we just re-create the loader as well before opening the wallet.
2022-12-09 11:09:05 +01:00
..
service_test.go walletunlocker: use T.TempDir to create temporary test directory 2022-08-24 09:03:05 +08:00
service.go walletunlocker: re-create loader after unloading wallet 2022-12-09 11:09:05 +01:00