@@ -1111,10 +1111,11 @@ func newServer(cfg *Config, listenAddrs []net.Addr,
11111111 )
11121112
11131113 s .txPublisher = sweep .NewTxPublisher (sweep.TxPublisherConfig {
1114- Signer : cc .Wallet .Cfg .Signer ,
1115- Wallet : cc .Wallet ,
1116- Estimator : cc .FeeEstimator ,
1117- Notifier : cc .ChainNotifier ,
1114+ Signer : cc .Wallet .Cfg .Signer ,
1115+ Wallet : cc .Wallet ,
1116+ Estimator : cc .FeeEstimator ,
1117+ Notifier : cc .ChainNotifier ,
1118+ AuxSweeper : s .implCfg .AuxSweeper ,
11181119 })
11191120
11201121 s .sweeper = sweep .New (& sweep.UtxoSweeperConfig {
@@ -1132,6 +1133,7 @@ func newServer(cfg *Config, listenAddrs []net.Addr,
11321133 Aggregator : aggregator ,
11331134 Publisher : s .txPublisher ,
11341135 NoDeadlineConfTarget : cfg .Sweeper .NoDeadlineConfTarget ,
1136+ AuxSweeper : s .implCfg .AuxSweeper ,
11351137 })
11361138
11371139 s .utxoNursery = contractcourt .NewUtxoNursery (& contractcourt.NurseryConfig {
@@ -1309,6 +1311,7 @@ func newServer(cfg *Config, listenAddrs []net.Addr,
13091311 },
13101312 AuxLeafStore : implCfg .AuxLeafStore ,
13111313 AuxSigner : implCfg .AuxSigner ,
1314+ AuxResolver : implCfg .AuxContractResolver ,
13121315 }, dbs .ChanStateDB )
13131316
13141317 // Select the configuration and funding parameters for Bitcoin.
@@ -1557,6 +1560,8 @@ func newServer(cfg *Config, listenAddrs []net.Addr,
15571560 AliasManager : s .aliasMgr ,
15581561 IsSweeperOutpoint : s .sweeper .IsSweeperOutpoint ,
15591562 AuxFundingController : implCfg .AuxFundingController ,
1563+ AuxSigner : implCfg .AuxSigner ,
1564+ AuxResolver : implCfg .AuxContractResolver ,
15601565 })
15611566 if err != nil {
15621567 return nil , err
@@ -1644,7 +1649,8 @@ func newServer(cfg *Config, listenAddrs []net.Addr,
16441649
16451650 br , err := lnwallet .NewBreachRetribution (
16461651 channel , commitHeight , 0 , nil ,
1647- implCfg .AuxLeafStore , implCfg .AuxSweeper ,
1652+ implCfg .AuxLeafStore ,
1653+ implCfg .AuxContractResolver ,
16481654 )
16491655 if err != nil {
16501656 return nil , 0 , err
@@ -4002,6 +4008,7 @@ func (s *server) peerConnected(conn net.Conn, connReq *connmgr.ConnReq,
40024008 AuxSigner : s .implCfg .AuxSigner ,
40034009 MsgRouter : s .implCfg .MsgRouter ,
40044010 AuxChanCloser : s .implCfg .AuxChanCloser ,
4011+ AuxResolver : s .implCfg .AuxContractResolver ,
40054012 }
40064013
40074014 copy (pCfg .PubKeyBytes [:], peerAddr .IdentityKey .SerializeCompressed ())
0 commit comments