dont add bip32 derived key field to taproot inputs

This commit is contained in:
Craig Raw 2022-04-26 14:57:24 +02:00
parent 20f4ac9657
commit 5b3712bfe0

View file

@ -76,7 +76,10 @@ public class PSBTInput {
this.redeemScript = redeemScript;
this.witnessScript = witnessScript;
this.derivedPublicKeys.putAll(derivedPublicKeys);
if(scriptType != P2TR) {
this.derivedPublicKeys.putAll(derivedPublicKeys);
}
this.proprietary.putAll(proprietary);
this.tapInternalKey = tapInternalKey;