lnwire: fix CommitSignature max payload length

This commit increase the max allowed payload length for the
CommitSignature method in order to account for the added 8 byte log
index.
This commit is contained in:
Olaoluwa Osuntokun 2016-07-12 17:07:34 -07:00
parent c8de0924ba
commit 0b86c01067
No known key found for this signature in database
GPG Key ID: 9CC5B105D03521A2

@ -101,8 +101,8 @@ func (c *CommitSignature) Command() uint32 {
//
// This is part of the lnwire.Message interface.
func (c *CommitSignature) MaxPayloadLength(uint32) uint32 {
// 36 + 8 + 73
return 117
// 36 + 8 + 8 + 73
return 125
}
// Validate performs any necessary sanity checks to ensure all fields present