mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-23 12:13:50 +02:00
sweep: remove dead code
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user