mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-06 01:18:17 +02:00
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:
@@ -61,11 +61,3 @@ func (p *Pong) Command() uint32 {
|
||||
func (p *Pong) MaxPayloadLength(uint32) uint32 {
|
||||
return 65532
|
||||
}
|
||||
|
||||
// Validate performs any necessary sanity checks to ensure all fields present
|
||||
// on the Pong are valid.
|
||||
//
|
||||
// This is part of the lnwire.Message interface.
|
||||
func (p *Pong) Validate() error {
|
||||
return nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user