discovery: add AssumeChannelValid config option

in preparation for later on when we need to know when to skip funding
transaction validation.
This commit is contained in:
Elle Mouton committed 2025-02-12 13:15:54 +02:00
1 parent 00f5fd9b7f
commit 22e391f055
2 files changed
+6

No files matched your search

+1
View File
@@ -1142,6 +1142,7 @@ func newServer(cfg *Config, listenAddrs []net.Addr,
FindChannel: s.findChannel,
IsStillZombieChannel: s.graphBuilder.IsZombieChannel,
ScidCloser: scidCloserMan,
AssumeChannelValid: cfg.Routing.AssumeChannelValid,
}, nodeKeyDesc)
selfVertex := route.Vertex(nodeKeyDesc.PubKey.SerializeCompressed())