multi: use prev output fetcher where possible
This commit is contained in:
13 files changed
+255
-44
No files matched your search
@@ -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