diff --git a/sweepbatcher/sweep_batch.go b/sweepbatcher/sweep_batch.go index 0aeba5ab..44841221 100644 --- a/sweepbatcher/sweep_batch.go +++ b/sweepbatcher/sweep_batch.go @@ -319,7 +319,6 @@ type batchKit struct { primaryID wire.OutPoint sweeps map[wire.OutPoint]sweep rbfCache rbfCache - returnChan chan SweepRequest wallet lndclient.WalletKitClient chainNotifier lndclient.ChainNotifierClient signerClient lndclient.SignerClient diff --git a/sweepbatcher/sweep_batcher.go b/sweepbatcher/sweep_batcher.go index 908e8889..97d67ce8 100644 --- a/sweepbatcher/sweep_batcher.go +++ b/sweepbatcher/sweep_batcher.go @@ -1207,7 +1207,6 @@ func (b *Batcher) newBatchConfig(maxTimeoutDistance int32) batchConfig { // newBatchKit creates new batch kit. func (b *Batcher) newBatchKit() batchKit { return batchKit{ - returnChan: b.sweepReqs, wallet: b.wallet, chainNotifier: b.chainNotifier, signerClient: b.signerClient,