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 committed 2017-04-19 15:03:51 -07:00
1 parent 920fcf3392
commit c8d978261b
21 files changed
-283

No files matched your search

-8
View File
@@ -65,11 +65,3 @@ func (p *Ping) Command() uint32 {
func (p Ping) MaxPayloadLength(uint32) uint32 {
return 65532
}
// Validate performs any necessary sanity checks to ensure all fields present
// on the Ping are valid.
//
// This is part of the lnwire.Message interface.
func (p *Ping) Validate() error {
return nil
}