sweep: remove dead code

This commit is contained in:
yyforyongyu
2025-03-25 10:28:53 +08:00
parent c7bea07d58
commit ec2f3add6e

View File

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