mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-10-09 19:14:32 +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:
@@ -84,7 +84,6 @@ type Message interface {
|
||||
Encode(io.Writer, uint32) error
|
||||
Command() uint32
|
||||
MaxPayloadLength(uint32) uint32
|
||||
Validate() error
|
||||
}
|
||||
|
||||
// makeEmptyMessage creates a new empty message of the proper concrete type
|
||||
|
Reference in New Issue
Block a user