lnwallet+lnwire: minor grammatical fixes after UpdateFee merge

This commit is contained in:
Olaoluwa Osuntokun
2017-07-14 17:10:29 -07:00
parent adbbd1e80f
commit 14832d8c09
2 changed files with 24 additions and 22 deletions

View File

@@ -29,8 +29,8 @@ func NewUpdateFee(chanID ChannelID, feePerKw btcutil.Amount) *UpdateFee {
// interface.
var _ Message = (*UpdateFee)(nil)
// Decode deserializes a serialized UpdateFee message stored in the
// passed io.Reader observing the specified protocol version.
// Decode deserializes a serialized UpdateFee message stored in the passed
// io.Reader observing the specified protocol version.
//
// This is part of the lnwire.Message interface.
func (c *UpdateFee) Decode(r io.Reader, pver uint32) error {
@@ -59,8 +59,8 @@ func (c *UpdateFee) MsgType() MessageType {
return MsgUpdateFee
}
// MaxPayloadLength returns the maximum allowed payload size for a
// UpdateFee complete message observing the specified protocol version.
// MaxPayloadLength returns the maximum allowed payload size for a UpdateFee
// complete message observing the specified protocol version.
//
// This is part of the lnwire.Message interface.
func (c *UpdateFee) MaxPayloadLength(uint32) uint32 {