Merge pull request #2500 from Roasbeef/mandatory-dlp

server: require the DLP bit for all incoming/outgoing connections
This commit is contained in:
Olaoluwa Osuntokun authored and GitHub committed 2019-01-31 20:14:15 -08:00
commit 5167b02312
2 files changed
+19 -9

No files matched your search

+1 -1
View File
@@ -2370,7 +2370,7 @@ func (s *server) peerConnected(conn net.Conn, connReq *connmgr.ConnReq,
// We'll signal that we understand the data loss protection feature,
// and also that we support the new gossip query features.
localFeatures.Set(lnwire.DataLossProtectOptional)
localFeatures.Set(lnwire.DataLossProtectRequired)
localFeatures.Set(lnwire.GossipQueriesOptional)
// Now that we've established a connection, create a peer, and it to