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

+6 -1
View File
@@ -1202,8 +1202,13 @@ func TestBreachCreateJusticeTx(t *testing.T) {
for i, wt := range outputTypes {
// Create a fake breached output for each type, ensuring they
// have different outpoints for our logic to accept them.
//
// NOTE: although they are fake, we need to make sure the
// outputs are not empty values, otherwise they will be equal
// to `EmptyOutPoint` and `MultiPrevOutFetcher` will return an
// error.
op := breachedOutputs[0].outpoint
op.Index = uint32(i)
op.Index = uint32(1000 + i)
breachedOutputs[i] = makeBreachedOutput(
&op,
wt,