mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-06-30 10:35:32 +02:00
sweep: change markInputsPublishFailed
to take outpoints
This way it's easier to pass values to this method in various callsites.
This commit is contained in:
@ -2108,8 +2108,10 @@ func TestMarkInputsPublishFailed(t *testing.T) {
|
||||
// Mark the test inputs. We expect the non-exist input and the
|
||||
// inputInit to be skipped, and the final input to be marked as
|
||||
// published.
|
||||
s.markInputsPublishFailed([]*wire.TxIn{
|
||||
inputNotExist, inputInit, inputPendingPublish,
|
||||
s.markInputsPublishFailed([]wire.OutPoint{
|
||||
inputNotExist.PreviousOutPoint,
|
||||
inputInit.PreviousOutPoint,
|
||||
inputPendingPublish.PreviousOutPoint,
|
||||
})
|
||||
|
||||
// We expect unchanged number of pending inputs.
|
||||
|
Reference in New Issue
Block a user