diff --git a/peer/brontide.go b/peer/brontide.go index 12ea39cf3..e7ebf974c 100644 --- a/peer/brontide.go +++ b/peer/brontide.go @@ -233,6 +233,10 @@ type Config struct { // transaction. ChainNotifier chainntnfs.ChainNotifier + // BestBlockView is used to efficiently query for up-to-date + // blockchain state information + BestBlockView chainntnfs.BestBlockView + // RoutingPolicy is used to set the forwarding policy for links created by // the Brontide. RoutingPolicy models.ForwardingPolicy diff --git a/server.go b/server.go index 0882fa23c..c47f79757 100644 --- a/server.go +++ b/server.go @@ -3837,6 +3837,7 @@ func (s *server) peerConnected(conn net.Conn, connReq *connmgr.ConnReq, SigPool: s.sigPool, Wallet: s.cc.Wallet, ChainNotifier: s.cc.ChainNotifier, + BestBlockView: s.cc.BestBlockTracker, RoutingPolicy: s.cc.RoutingPolicy, Sphinx: s.sphinx, WitnessBeacon: s.witnessBeacon,