Skip to content

Commit 1fd1dba

Browse files
committed
cln: bump max receive message size
1 parent fd58d5e commit 1fd1dba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cln/cln_client.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ func NewClnClient(config *config.ClnConfig) (*ClnClient, error) {
7272
conn, err := grpc.Dial(
7373
config.GrpcAddress,
7474
grpc.WithTransportCredentials(tlsCredentials),
75+
grpc.WithDefaultCallOptions(grpc.MaxCallRecvMsgSize(1024*1024*50)),
7576
)
7677
if err != nil {
7778
return nil, fmt.Errorf("failed to connect to CLN gRPC: %w", err)

0 commit comments

Comments
 (0)