mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-31 17:51:33 +02:00
multi: make input.OutPoint
return wire.OutPoint
This commit is contained in:
@@ -74,7 +74,7 @@ func createSweepTx(inputs []input.Input, outputs []*wire.TxOut,
|
||||
|
||||
idxs = append(idxs, o)
|
||||
sweepTx.AddTxIn(&wire.TxIn{
|
||||
PreviousOutPoint: *o.OutPoint(),
|
||||
PreviousOutPoint: o.OutPoint(),
|
||||
Sequence: o.BlocksToMaturity(),
|
||||
})
|
||||
sweepTx.AddTxOut(o.RequiredTxOut())
|
||||
@@ -102,7 +102,7 @@ func createSweepTx(inputs []input.Input, outputs []*wire.TxOut,
|
||||
|
||||
idxs = append(idxs, o)
|
||||
sweepTx.AddTxIn(&wire.TxIn{
|
||||
PreviousOutPoint: *o.OutPoint(),
|
||||
PreviousOutPoint: o.OutPoint(),
|
||||
Sequence: o.BlocksToMaturity(),
|
||||
})
|
||||
|
||||
@@ -309,9 +309,7 @@ func inputTypeSummary(inputs []input.Input) string {
|
||||
|
||||
var parts []string
|
||||
for _, i := range sortedInputs {
|
||||
part := fmt.Sprintf("%v (%v)",
|
||||
*i.OutPoint(), i.WitnessType())
|
||||
|
||||
part := fmt.Sprintf("%v (%v)", i.OutPoint(), i.WitnessType())
|
||||
parts = append(parts, part)
|
||||
}
|
||||
return strings.Join(parts, ", ")
|
||||
|
Reference in New Issue
Block a user