server: pass AssumeChannelValid to router

This commit is contained in:
Conner Fromknecht committed 2018-09-03 20:15:18 -07:00
1 parent 1e473b2364
commit f33cfdaa07
1 file changed
+1
+1
View File
@@ -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)