Skip to content

Commit

Permalink
Update lnd_grpc.py
Browse files Browse the repository at this point in the history
  • Loading branch information
lollerfirst authored Jul 22, 2024
1 parent fd53ccf commit 3bedca4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cashu/lightning/lnd-grpc/lnd_grpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def metadata_callback(context, callback):
('grpc.http2.max_pings_without_data', 0)
]
try:
self.channel = grpc.aio.secure_channel(self.endpoint, combined_creds)
self.channel = grpc.aio.secure_channel(self.endpoint, combined_creds, options=channel_options)
except (grpc.GrpcError, OSError) as e:
logger.error(f"Failed to create secure channel: {e}")
raise Exception(f"Failed to create secure channel: {e}")
Expand Down

0 comments on commit 3bedca4

Please sign in to comment.