multi: make input.OutPoint return wire.OutPoint

This commit is contained in:
yyforyongyu
2024-03-27 17:07:48 +08:00
parent fce86f9b22
commit e771993785
21 changed files with 136 additions and 134 deletions

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,