multi: make input.OutPoint return wire.OutPoint

This commit is contained in:
yyforyongyu committed 2024-04-19 21:33:32 +08:00
1 parent fce86f9b22
commit e771993785
21 files changed
+136 -134

No files matched your search

+2 -2
View File
@@ -996,7 +996,7 @@ func (t *TxPublisher) createSweepTx(inputs []input.Input, changePkScript []byte,
idxs = append(idxs, o)
sweepTx.AddTxIn(&wire.TxIn{
PreviousOutPoint: *o.OutPoint(),
PreviousOutPoint: o.OutPoint(),
Sequence: o.BlocksToMaturity(),
})
sweepTx.AddTxOut(o.RequiredTxOut())
@@ -1011,7 +1011,7 @@ func (t *TxPublisher) createSweepTx(inputs []input.Input, changePkScript []byte,
idxs = append(idxs, o)
sweepTx.AddTxIn(&wire.TxIn{
PreviousOutPoint: *o.OutPoint(),
PreviousOutPoint: o.OutPoint(),
Sequence: o.BlocksToMaturity(),
})
}