Skip to content

Commit

Permalink
Merge pull request #148 from PierreRochard/grpc-local
Browse files Browse the repository at this point in the history
by default only listen on localhost for grpc
  • Loading branch information
PierreRochard committed Jan 30, 2019
2 parents 4bb9e8f + 6f9b302 commit 187662d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node_launcher/node_set/lnd.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def __init__(self, network: Network,
self.grpc_port = get_port(LND_DEFAULT_GRPC_PORT + 1)
else:
self.grpc_port = get_port(LND_DEFAULT_GRPC_PORT)
self.file['rpclisten'] = f'0.0.0.0:{self.grpc_port}'
self.file['rpclisten'] = f'127.0.0.1:{self.grpc_port}'
else:
self.grpc_port = self.file['rpclisten'].split(':')[-1]

Expand Down

0 comments on commit 187662d

Please sign in to comment.