mirror of
https://github.com/aljazceru/breez-lnd.git
synced 2026-02-15 11:34:25 +01:00
Merge pull request #3059 from champo/rpc_drop
lnd: close the wallet unlock grpc server
This commit is contained in:
1
lnd.go
1
lnd.go
@@ -887,6 +887,7 @@ func waitForWalletPassword(grpcEndpoints, restEndpoints []net.Addr,
|
||||
// Set up a new PasswordService, which will listen for passwords
|
||||
// provided over RPC.
|
||||
grpcServer := grpc.NewServer(serverOpts...)
|
||||
defer grpcServer.GracefulStop()
|
||||
|
||||
chainConfig := cfg.Bitcoin
|
||||
if registeredChains.PrimaryChain() == litecoinChain {
|
||||
|
||||
Reference in New Issue
Block a user