Merge pull request #2603 from Crypt-iQ/error_message_payload_fix

lnwire: change error's MaxPayloadLength to 65535
This commit is contained in:
Olaoluwa Osuntokun 2019-02-11 19:42:16 -08:00 committed by GitHub
commit 0776c7a337
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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