mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-06-29 10:09:08 +02:00
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:
@ -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())
|
||||
|
Reference in New Issue
Block a user