diff --git a/lndclient/lnd_services.go b/lndclient/lnd_services.go index bae1cf5..110fe19 100644 --- a/lndclient/lnd_services.go +++ b/lndclient/lnd_services.go @@ -448,6 +448,7 @@ func getClientConn(cfg *LndServicesConfig) (*grpc.ClientConn, error) { // Use a custom dialer, to allow connections to unix sockets, // in-memory listeners etc, and not just TCP addresses. grpc.WithContextDialer(cfg.Dialer), + grpc.WithDefaultCallOptions(maxMsgRecvSize), } conn, err := grpc.Dial(cfg.LndAddress, opts...)