diff --git a/core/src/main/scala/org/bitcoins/core/crypto/TxSigComponent.scala b/core/src/main/scala/org/bitcoins/core/crypto/TxSigComponent.scala index d7dd4344a6..40d01a4465 100644 --- a/core/src/main/scala/org/bitcoins/core/crypto/TxSigComponent.scala +++ b/core/src/main/scala/org/bitcoins/core/crypto/TxSigComponent.scala @@ -448,12 +448,8 @@ case class TaprootTxSigComponent( override val witnessVersion: WitnessVersion1.type = WitnessVersion1 - override def sigVersion: SigVersionTaproot = { - witness match { - case _: TaprootKeyPath => SigVersionTaprootKeySpend - case sp: TaprootWitness => sp.sigVersion - } - } + override def sigVersion: SigVersionTaproot = witness.sigVersion + } object BaseTxSigComponent {