mirror of
https://github.com/sparrowwallet/drongo.git
synced 2024-11-04 11:06:44 +00:00
dont add bip32 derived key field to taproot inputs
This commit is contained in:
parent
20f4ac9657
commit
5b3712bfe0
1 changed files with 4 additions and 1 deletions
|
@ -76,7 +76,10 @@ public class PSBTInput {
|
||||||
this.redeemScript = redeemScript;
|
this.redeemScript = redeemScript;
|
||||||
this.witnessScript = witnessScript;
|
this.witnessScript = witnessScript;
|
||||||
|
|
||||||
|
if(scriptType != P2TR) {
|
||||||
this.derivedPublicKeys.putAll(derivedPublicKeys);
|
this.derivedPublicKeys.putAll(derivedPublicKeys);
|
||||||
|
}
|
||||||
|
|
||||||
this.proprietary.putAll(proprietary);
|
this.proprietary.putAll(proprietary);
|
||||||
|
|
||||||
this.tapInternalKey = tapInternalKey;
|
this.tapInternalKey = tapInternalKey;
|
||||||
|
|
Loading…
Reference in a new issue