From 7bd19d5cdf03783af6f000f223aea5dcbed219ec Mon Sep 17 00:00:00 2001 From: Oliver Gugger Date: Mon, 27 Jun 2022 22:00:07 +0200 Subject: [PATCH] signer: fix comment about p2tr in ComputeInputScript --- input/signer.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/input/signer.go b/input/signer.go index fb3609115..1cf4003b0 100644 --- a/input/signer.go +++ b/input/signer.go @@ -25,12 +25,12 @@ type Signer interface { // ComputeInputScript generates a complete InputIndex for the passed // transaction with the signature as defined within the passed // SignDescriptor. This method should be capable of generating the - // proper input script for both regular p2wkh output and p2wkh outputs - // nested within a regular p2sh output. + // proper input script for both regular p2wkh/p2tr outputs and p2wkh + // outputs nested within a regular p2sh output. // // NOTE: This method will ignore any tweak parameters set within the // 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, error) }