mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-29 23:21:12 +02:00
multi: make input.OutPoint
return wire.OutPoint
This commit is contained in:
@@ -43,7 +43,7 @@ func MultiPrevOutFetcher(inputs []Input) (*txscript.MultiPrevOutFetcher, error)
|
||||
op := inp.OutPoint()
|
||||
desc := inp.SignDesc()
|
||||
|
||||
if op == nil {
|
||||
if op == EmptyOutPoint {
|
||||
return nil, fmt.Errorf("missing input outpoint")
|
||||
}
|
||||
|
||||
@@ -51,7 +51,7 @@ func MultiPrevOutFetcher(inputs []Input) (*txscript.MultiPrevOutFetcher, error)
|
||||
return nil, fmt.Errorf("missing input utxo information")
|
||||
}
|
||||
|
||||
fetcher.AddPrevOut(*op, desc.Output)
|
||||
fetcher.AddPrevOut(op, desc.Output)
|
||||
}
|
||||
|
||||
return fetcher, nil
|
||||
|
Reference in New Issue
Block a user