Merge pull request #3059 from champo/rpc_drop
lnd: close the wallet unlock grpc server
This commit is contained in:
commit
d2435a4dc3
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 {
|
||||
|
Loading…
Reference in New Issue
Block a user