Skip to content

Commit

Permalink
cln: bump max receive message size
Browse files Browse the repository at this point in the history
  • Loading branch information
JssDWt committed Feb 27, 2025
1 parent fd58d5e commit 1fd1dba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cln/cln_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ func NewClnClient(config *config.ClnConfig) (*ClnClient, error) {
conn, err := grpc.Dial(
config.GrpcAddress,
grpc.WithTransportCredentials(tlsCredentials),
grpc.WithDefaultCallOptions(grpc.MaxCallRecvMsgSize(1024*1024*50)),
)
if err != nil {
return nil, fmt.Errorf("failed to connect to CLN gRPC: %w", err)
Expand Down

0 comments on commit 1fd1dba

Please sign in to comment.