From 0225b6e0ea942d53c34a33cf3818d9032baed740 Mon Sep 17 00:00:00 2001 From: Oliver Gugger Date: Fri, 15 Nov 2019 16:29:20 +0100 Subject: [PATCH] lndclient: increase gRPC max message receive size to 200MiB --- lndclient/lnd_services.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lndclient/lnd_services.go b/lndclient/lnd_services.go index 51c6cf0..a7b1678 100644 --- a/lndclient/lnd_services.go +++ b/lndclient/lnd_services.go @@ -185,8 +185,8 @@ var ( defaultSignerFilename = "signer.macaroon" // maxMsgRecvSize is the largest gRPC message our client will receive. - // We set this to ~50Mb. - maxMsgRecvSize = grpc.MaxCallRecvMsgSize(1 * 1024 * 1024 * 50) + // We set this to 200MiB. + maxMsgRecvSize = grpc.MaxCallRecvMsgSize(1 * 1024 * 1024 * 200) ) func getClientConn(address string, network string, tlsPath string) (