From a460fa92b80ea92224631f82f8505b703a3ef6ee Mon Sep 17 00:00:00 2001 From: nsa Date: Wed, 6 Feb 2019 20:46:38 -0500 Subject: [PATCH] lnwire: change error's MaxPayloadLength to 65535 --- lnwire/error.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lnwire/error.go b/lnwire/error.go index e7bcb0c3..5a4dd1bf 100644 --- a/lnwire/error.go +++ b/lnwire/error.go @@ -122,6 +122,6 @@ func (c *Error) MsgType() MessageType { // // This is part of the lnwire.Message interface. func (c *Error) MaxPayloadLength(uint32) uint32 { - // 32 + 2 + 655326 - return 65536 + // 32 + 2 + 65501 + return 65535 }