mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-24 06:47:44 +01:00
Merge pull request #2603 from Crypt-iQ/error_message_payload_fix
lnwire: change error's MaxPayloadLength to 65535
This commit is contained in:
commit
0776c7a337
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue