@@ -1114,10 +1114,11 @@ func newServer(cfg *Config, listenAddrs []net.Addr,
11141114 )
11151115
11161116 s .txPublisher = sweep .NewTxPublisher (sweep.TxPublisherConfig {
1117- Signer : cc .Wallet .Cfg .Signer ,
1118- Wallet : cc .Wallet ,
1119- Estimator : cc .FeeEstimator ,
1120- Notifier : cc .ChainNotifier ,
1117+ Signer : cc .Wallet .Cfg .Signer ,
1118+ Wallet : cc .Wallet ,
1119+ Estimator : cc .FeeEstimator ,
1120+ Notifier : cc .ChainNotifier ,
1121+ AuxSweeper : s .implCfg .AuxSweeper ,
11211122 })
11221123
11231124 s .sweeper = sweep .New (& sweep.UtxoSweeperConfig {
@@ -1135,6 +1136,7 @@ func newServer(cfg *Config, listenAddrs []net.Addr,
11351136 Aggregator : aggregator ,
11361137 Publisher : s .txPublisher ,
11371138 NoDeadlineConfTarget : cfg .Sweeper .NoDeadlineConfTarget ,
1139+ AuxSweeper : s .implCfg .AuxSweeper ,
11381140 })
11391141
11401142 s .utxoNursery = contractcourt .NewUtxoNursery (& contractcourt.NurseryConfig {
@@ -1312,6 +1314,7 @@ func newServer(cfg *Config, listenAddrs []net.Addr,
13121314 },
13131315 AuxLeafStore : implCfg .AuxLeafStore ,
13141316 AuxSigner : implCfg .AuxSigner ,
1317+ AuxResolver : implCfg .AuxContractResolver ,
13151318 }, dbs .ChanStateDB )
13161319
13171320 // Select the configuration and funding parameters for Bitcoin.
@@ -1560,6 +1563,8 @@ func newServer(cfg *Config, listenAddrs []net.Addr,
15601563 AliasManager : s .aliasMgr ,
15611564 IsSweeperOutpoint : s .sweeper .IsSweeperOutpoint ,
15621565 AuxFundingController : implCfg .AuxFundingController ,
1566+ AuxSigner : implCfg .AuxSigner ,
1567+ AuxResolver : implCfg .AuxContractResolver ,
15631568 })
15641569 if err != nil {
15651570 return nil , err
@@ -4055,6 +4060,7 @@ func (s *server) peerConnected(conn net.Conn, connReq *connmgr.ConnReq,
40554060 AuxSigner : s .implCfg .AuxSigner ,
40564061 MsgRouter : s .implCfg .MsgRouter ,
40574062 AuxChanCloser : s .implCfg .AuxChanCloser ,
4063+ AuxResolver : s .implCfg .AuxContractResolver ,
40584064 }
40594065
40604066 copy (pCfg .PubKeyBytes [:], peerAddr .IdentityKey .SerializeCompressed ())
0 commit comments