mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-08 05:08:13 +02:00
multi: use prev output fetcher where possible
This commit is contained in:
@@ -74,6 +74,11 @@ type SignDescriptor struct {
|
||||
// generating the final sighash for signing.
|
||||
SigHashes *txscript.TxSigHashes
|
||||
|
||||
// PrevOutputFetcher is an interface that can return the output
|
||||
// information on all UTXOs that are being spent in this transaction.
|
||||
// This MUST be set when spending Taproot outputs.
|
||||
PrevOutputFetcher txscript.PrevOutputFetcher
|
||||
|
||||
// InputIndex is the target input within the transaction that should be
|
||||
// signed.
|
||||
InputIndex int
|
||||
|
Reference in New Issue
Block a user