mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-13 11:09:23 +01:00
signer: fix comment about p2tr in ComputeInputScript
This commit is contained in:
parent
b8f1541800
commit
7bd19d5cdf
1 changed files with 3 additions and 3 deletions
|
@ -25,12 +25,12 @@ type Signer interface {
|
||||||
// ComputeInputScript generates a complete InputIndex for the passed
|
// ComputeInputScript generates a complete InputIndex for the passed
|
||||||
// transaction with the signature as defined within the passed
|
// transaction with the signature as defined within the passed
|
||||||
// SignDescriptor. This method should be capable of generating the
|
// SignDescriptor. This method should be capable of generating the
|
||||||
// proper input script for both regular p2wkh output and p2wkh outputs
|
// proper input script for both regular p2wkh/p2tr outputs and p2wkh
|
||||||
// nested within a regular p2sh output.
|
// outputs nested within a regular p2sh output.
|
||||||
//
|
//
|
||||||
// NOTE: This method will ignore any tweak parameters set within the
|
// NOTE: This method will ignore any tweak parameters set within the
|
||||||
// passed SignDescriptor as it assumes a set of typical script
|
// passed SignDescriptor as it assumes a set of typical script
|
||||||
// templates (p2wkh, np2wkh, etc).
|
// templates (p2wkh, p2tr, np2wkh, etc).
|
||||||
ComputeInputScript(tx *wire.MsgTx, signDesc *SignDescriptor) (*Script,
|
ComputeInputScript(tx *wire.MsgTx, signDesc *SignDescriptor) (*Script,
|
||||||
error)
|
error)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue