mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-07-12 14:12:27 +02:00
server: set new optional global TLV feature bit by default
This commit is contained in:
@ -312,6 +312,7 @@ func newServer(listenAddrs []net.Addr, chanDB *channeldb.DB,
|
|||||||
}
|
}
|
||||||
|
|
||||||
globalFeatures := lnwire.NewRawFeatureVector()
|
globalFeatures := lnwire.NewRawFeatureVector()
|
||||||
|
globalFeatures.Set(lnwire.TLVOnionPayloadOptional)
|
||||||
|
|
||||||
var serializedPubKey [33]byte
|
var serializedPubKey [33]byte
|
||||||
copy(serializedPubKey[:], privKey.PubKey().SerializeCompressed())
|
copy(serializedPubKey[:], privKey.PubKey().SerializeCompressed())
|
||||||
|
Reference in New Issue
Block a user