lnwire: let gossip messages implement GossipMessage
This commit is contained in:
1 parent
4d3bf6379a
commit
ef0e6b78bb
9 files changed
+60
No files matched your search
@@ -243,3 +243,10 @@ func (a *NodeAnnouncement1) NodeFeatures() *FeatureVector {
|
||||
func (a *NodeAnnouncement1) TimestampDesc() string {
|
||||
return fmt.Sprintf("timestamp=%d", a.Timestamp)
|
||||
}
|
||||
|
||||
// GossipVersion returns the gossip version that this message is part of.
|
||||
//
|
||||
// NOTE: this is part of the GossipMessage interface.
|
||||
func (a *NodeAnnouncement1) GossipVersion() GossipVersion {
|
||||
return GossipVersion1
|
||||
}
|
||||
Reference in new issue
Block a user