mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-08 09:11:53 +02:00
lnwire: change error's MaxPayloadLength to 65535
This commit is contained in:
@@ -122,6 +122,6 @@ func (c *Error) MsgType() MessageType {
|
|||||||
//
|
//
|
||||||
// This is part of the lnwire.Message interface.
|
// This is part of the lnwire.Message interface.
|
||||||
func (c *Error) MaxPayloadLength(uint32) uint32 {
|
func (c *Error) MaxPayloadLength(uint32) uint32 {
|
||||||
// 32 + 2 + 655326
|
// 32 + 2 + 65501
|
||||||
return 65536
|
return 65535
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user