mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-13 11:09:23 +01:00
server: set new optional global TLV feature bit by default
This commit is contained in:
parent
9145c0fd38
commit
1345ca2038
1 changed files with 1 additions and 0 deletions
|
@ -312,6 +312,7 @@ func newServer(listenAddrs []net.Addr, chanDB *channeldb.DB,
|
|||
}
|
||||
|
||||
globalFeatures := lnwire.NewRawFeatureVector()
|
||||
globalFeatures.Set(lnwire.TLVOnionPayloadOptional)
|
||||
|
||||
var serializedPubKey [33]byte
|
||||
copy(serializedPubKey[:], privKey.PubKey().SerializeCompressed())
|
||||
|
|
Loading…
Add table
Reference in a new issue