lnwire: change error's MaxPayloadLength to 65535

This commit is contained in:
nsa 2019-02-06 20:46:38 -05:00
parent eaea92e2cf
commit a460fa92b8

@ -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
}