mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-04-13 06:29:07 +02: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
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user