lnwire: remove the Validate method from the Message interface

This commit revues the Validate method from the Message interface as
the method is no longer used and is a relic from an older version of
the codebase.
This commit is contained in:
Olaoluwa Osuntokun
2017-04-19 15:03:45 -07:00
parent 920fcf3392
commit c8d978261b
21 changed files with 0 additions and 283 deletions

View File

@@ -136,12 +136,3 @@ func (c *UpdateFailHTLC) MaxPayloadLength(uint32) uint32 {
// 32 + 8 + 154
return 194
}
// Validate performs any necessary sanity checks to ensure all fields present
// on the UpdateFailHTLC are valid.
//
// This is part of the lnwire.Message interface.
func (c *UpdateFailHTLC) Validate() error {
// We're good!
return nil
}