Skip to content

Commit ec2f3ad

Browse files
committed
sweep: remove dead code
1 parent c7bea07 commit ec2f3ad

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

Diff for: sweep/tx_input_set.go

-7
Original file line numberDiff line numberDiff line change
@@ -320,13 +320,6 @@ func (b *BudgetInputSet) NeedWalletInput() bool {
320320
return budgetBorrowable < budgetNeeded
321321
}
322322

323-
// copyInputs returns a copy of the slice of the inputs in the set.
324-
func (b *BudgetInputSet) copyInputs() []*SweeperInput {
325-
inputs := make([]*SweeperInput, len(b.inputs))
326-
copy(inputs, b.inputs)
327-
return inputs
328-
}
329-
330323
// hasNormalInput return a bool to indicate whether there exists an input that
331324
// doesn't require a TxOut. When an input has no required outputs, it's either a
332325
// wallet input, or an input we want to sweep.

0 commit comments

Comments
 (0)