Merge pull request #9002 from Roasbeef/tlv-edge-info-bug-fix
discovery: fix bug that can lead to sending invalid chan_ann msgs
This commit is contained in:
2 files changed
+5
-1
No files matched your search
@@ -2232,7 +2232,7 @@ func (d *AuthenticatedGossiper) updateChannel(info *models.ChannelEdgeInfo,
|
|||||||
BitcoinKey1: info.BitcoinKey1Bytes,
|
BitcoinKey1: info.BitcoinKey1Bytes,
|
||||||
Features: lnwire.NewRawFeatureVector(),
|
Features: lnwire.NewRawFeatureVector(),
|
||||||
BitcoinKey2: info.BitcoinKey2Bytes,
|
BitcoinKey2: info.BitcoinKey2Bytes,
|
||||||
ExtraOpaqueData: edge.ExtraOpaqueData,
|
ExtraOpaqueData: info.ExtraOpaqueData,
|
||||||
}
|
}
|
||||||
chanAnn.NodeSig1, err = lnwire.NewSigFromECDSARawSignature(
|
chanAnn.NodeSig1, err = lnwire.NewSigFromECDSARawSignature(
|
||||||
info.AuthProof.NodeSig1Bytes,
|
info.AuthProof.NodeSig1Bytes,
|
||||||
|
|||||||
@@ -60,6 +60,10 @@ commitment when the channel was force closed.
|
|||||||
* We'll now always send [channel updates to our remote peer for open
|
* We'll now always send [channel updates to our remote peer for open
|
||||||
channels](https://github.com/lightningnetwork/lnd/pull/8963).
|
channels](https://github.com/lightningnetwork/lnd/pull/8963).
|
||||||
|
|
||||||
|
* [A bug has been fixed that could cause invalid channel
|
||||||
|
announcements](https://github.com/lightningnetwork/lnd/pull/9002) to be
|
||||||
|
generated if the inbound fee discount is used.
|
||||||
|
|
||||||
# New Features
|
# New Features
|
||||||
## Functional Enhancements
|
## Functional Enhancements
|
||||||
## RPC Additions
|
## RPC Additions
|
||||||
|
|||||||
Reference in new issue
Block a user