lnwire: include init prefix in MaxPayloadLength calculation
This commit is contained in:
1 parent
7a65be7f14
commit
d09d514858
1 file changed
+1
-1
@@ -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
|
||||
}
|
||||
Reference in new issue
Block a user