We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 869063c commit d974383Copy full SHA for d974383
universe/supplycommit/transitions.go
@@ -444,6 +444,8 @@ func newRootCommitment(ctx context.Context,
444
445
witnessUtxo := r.Txn.TxOut[r.TxOutIdx]
446
447
+ commitTapscriptRoot, _ := r.TapscriptRoot()
448
+
449
packetPInputs = append(packetPInputs, psbt.PInput{
450
WitnessUtxo: witnessUtxo,
451
Bip32Derivation: []*psbt.Bip32Derivation{
@@ -453,6 +455,7 @@ func newRootCommitment(ctx context.Context,
453
455
trBip32Derivation,
454
456
},
457
TaprootInternalKey: trBip32Derivation.XOnlyPubKey,
458
+ TaprootMerkleRoot: commitTapscriptRoot,
459
})
460
461
0 commit comments