htlcswitch: prevent ChannelLink from leaking ChannelPoint pointer

This commit is contained in:
Keagan McClelland committed 2024-03-08 15:48:02 -08:00
1 parent db39a905cb
commit 16be46c1e5
3 files changed
+11 -9

No files matched your search

+1 -1
View File
@@ -221,7 +221,7 @@ type ChannelLink interface {
IsUnadvertised() bool
// ChannelPoint returns the channel outpoint for the channel link.
ChannelPoint() *wire.OutPoint
ChannelPoint() wire.OutPoint
// ShortChanID returns the short channel ID for the channel link. The
// short channel ID encodes the exact location in the main chain that