@@ -1115,10 +1115,11 @@ func newServer(cfg *Config, listenAddrs []net.Addr,
11151115 )
11161116
11171117 s .txPublisher = sweep .NewTxPublisher (sweep.TxPublisherConfig {
1118- Signer : cc .Wallet .Cfg .Signer ,
1119- Wallet : cc .Wallet ,
1120- Estimator : cc .FeeEstimator ,
1121- Notifier : cc .ChainNotifier ,
1118+ Signer : cc .Wallet .Cfg .Signer ,
1119+ Wallet : cc .Wallet ,
1120+ Estimator : cc .FeeEstimator ,
1121+ Notifier : cc .ChainNotifier ,
1122+ AuxSweeper : s .implCfg .AuxSweeper ,
11221123 })
11231124
11241125 s .sweeper = sweep .New (& sweep.UtxoSweeperConfig {
@@ -1136,6 +1137,7 @@ func newServer(cfg *Config, listenAddrs []net.Addr,
11361137 Aggregator : aggregator ,
11371138 Publisher : s .txPublisher ,
11381139 NoDeadlineConfTarget : cfg .Sweeper .NoDeadlineConfTarget ,
1140+ AuxSweeper : s .implCfg .AuxSweeper ,
11391141 })
11401142
11411143 s .utxoNursery = contractcourt .NewUtxoNursery (& contractcourt.NurseryConfig {
@@ -1313,6 +1315,7 @@ func newServer(cfg *Config, listenAddrs []net.Addr,
13131315 },
13141316 AuxLeafStore : implCfg .AuxLeafStore ,
13151317 AuxSigner : implCfg .AuxSigner ,
1318+ AuxResolver : implCfg .AuxContractResolver ,
13161319 }, dbs .ChanStateDB )
13171320
13181321 // Select the configuration and funding parameters for Bitcoin.
@@ -1561,6 +1564,8 @@ func newServer(cfg *Config, listenAddrs []net.Addr,
15611564 AliasManager : s .aliasMgr ,
15621565 IsSweeperOutpoint : s .sweeper .IsSweeperOutpoint ,
15631566 AuxFundingController : implCfg .AuxFundingController ,
1567+ AuxSigner : implCfg .AuxSigner ,
1568+ AuxResolver : implCfg .AuxContractResolver ,
15641569 })
15651570 if err != nil {
15661571 return nil , err
@@ -4085,6 +4090,7 @@ func (s *server) peerConnected(conn net.Conn, connReq *connmgr.ConnReq,
40854090 AuxSigner : s .implCfg .AuxSigner ,
40864091 MsgRouter : s .implCfg .MsgRouter ,
40874092 AuxChanCloser : s .implCfg .AuxChanCloser ,
4093+ AuxResolver : s .implCfg .AuxContractResolver ,
40884094 }
40894095
40904096 copy (pCfg .PubKeyBytes [:], peerAddr .IdentityKey .SerializeCompressed ())
0 commit comments