From 78ca6bd069dfaae743bfb01ee3217600bcf29c71 Mon Sep 17 00:00:00 2001 From: Boris Nagaev Date: Wed, 30 Apr 2025 13:26:07 -0300 Subject: [PATCH] sweepbatcher: rm unused field batchKit.returnChan --- sweepbatcher/sweep_batch.go | 1 - sweepbatcher/sweep_batcher.go | 1 - 2 files changed, 2 deletions(-) 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,