lnwire: include init prefix in MaxPayloadLength calculation
This commit is contained in:
parent
7a65be7f14
commit
d09d514858
@ -63,5 +63,5 @@ func (msg *Init) MsgType() MessageType {
|
||||
//
|
||||
// This is part of the lnwire.Message interface.
|
||||
func (msg *Init) MaxPayloadLength(uint32) uint32 {
|
||||
return 2 + maxAllowedSize + 2 + maxAllowedSize
|
||||
return 2 + 2 + maxAllowedSize + 2 + maxAllowedSize
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user