sweepbatcher: rm unused field batchKit.returnChan

This commit is contained in:
Boris Nagaev 2025-04-30 13:26:07 -03:00
parent b7d3bc46f8
commit 78ca6bd069
No known key found for this signature in database
2 changed files with 0 additions and 2 deletions

View file

@ -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

View file

@ -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,