mirror of
https://github.com/aljazceru/breez-lnd.git
synced 2025-12-18 22:54:26 +01:00
server: pass AssumeChannelValid to router
This commit is contained in:
@@ -549,6 +549,7 @@ func newServer(listenAddrs []net.Addr, chanDB *channeldb.DB, cc *chainControl,
|
|||||||
// for the available bandwidth for the link.
|
// for the available bandwidth for the link.
|
||||||
return link.Bandwidth()
|
return link.Bandwidth()
|
||||||
},
|
},
|
||||||
|
AssumeChannelValid: cfg.Routing.UseAssumeChannelValid(),
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("can't create router: %v", err)
|
return nil, fmt.Errorf("can't create router: %v", err)
|
||||||
|
|||||||
Reference in New Issue
Block a user