server: set new optional global TLV feature bit by default

This commit is contained in:
Olaoluwa Osuntokun committed 2019-08-22 18:53:07 -07:00
1 parent 9145c0fd38
commit 1345ca2038
1 file changed
+1
+1
View File
@@ -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())