Skip to content

Commit 77c7f77

Browse files
authored
Merge pull request #9002 from Roasbeef/tlv-edge-info-bug-fix
discovery: fix bug that can lead to sending invalid chan_ann msgs
2 parents c0420fe + f7daa30 commit 77c7f77

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

discovery/gossiper.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2232,7 +2232,7 @@ func (d *AuthenticatedGossiper) updateChannel(info *models.ChannelEdgeInfo,
22322232
BitcoinKey1: info.BitcoinKey1Bytes,
22332233
Features: lnwire.NewRawFeatureVector(),
22342234
BitcoinKey2: info.BitcoinKey2Bytes,
2235-
ExtraOpaqueData: edge.ExtraOpaqueData,
2235+
ExtraOpaqueData: info.ExtraOpaqueData,
22362236
}
22372237
chanAnn.NodeSig1, err = lnwire.NewSigFromECDSARawSignature(
22382238
info.AuthProof.NodeSig1Bytes,

docs/release-notes/release-notes-0.18.3.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ commitment when the channel was force closed.
6060
* We'll now always send [channel updates to our remote peer for open
6161
channels](https://github.com/lightningnetwork/lnd/pull/8963).
6262

63+
* [A bug has been fixed that could cause invalid channel
64+
announcements](https://github.com/lightningnetwork/lnd/pull/9002) to be
65+
generated if the inbound fee discount is used.
66+
6367
# New Features
6468
## Functional Enhancements
6569
## RPC Additions

0 commit comments

Comments
 (0)