lnwire: add Outpoint to ChannelAnnouncement2
The latest version of the spec has the outpoint included in the `channel_announcement2` message.
This commit is contained in:
3 files changed
+21
No files matched your search
@@ -291,6 +291,10 @@ func (c *ChannelAnnouncement2) RandTestMessage(t *rapid.T) Message {
|
||||
)
|
||||
}
|
||||
|
||||
msg.Outpoint = tlv.NewRecordT[tlv.TlvType18, OutPoint](
|
||||
OutPoint(RandOutPoint(t)),
|
||||
)
|
||||
|
||||
return msg
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user