From ec2f3add6ea680217c16ecccfff950c29eaf6767 Mon Sep 17 00:00:00 2001 From: yyforyongyu Date: Tue, 25 Mar 2025 10:28:53 +0800 Subject: [PATCH] sweep: remove dead code --- sweep/tx_input_set.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/sweep/tx_input_set.go b/sweep/tx_input_set.go index ce69a9158..7b533c232 100644 --- a/sweep/tx_input_set.go +++ b/sweep/tx_input_set.go @@ -320,13 +320,6 @@ func (b *BudgetInputSet) NeedWalletInput() bool { return budgetBorrowable < budgetNeeded } -// copyInputs returns a copy of the slice of the inputs in the set. -func (b *BudgetInputSet) copyInputs() []*SweeperInput { - inputs := make([]*SweeperInput, len(b.inputs)) - copy(inputs, b.inputs) - return inputs -} - // hasNormalInput return a bool to indicate whether there exists an input that // doesn't require a TxOut. When an input has no required outputs, it's either a // wallet input, or an input we want to sweep.