Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(frost-secp256k1-tr): empty merkle root tweak should still hash th…
…e x-only pk (#815) Per BIP-341 if there is no script paths the internal key should still be tapTweak'd by tG where t = TaggedHash(P_x). Before this commit the internal key and the taproot output key are the same if no script paths are used. This is because the tweak is the 0 scalar value so Q = P + tG = P. It is worth noting that Bitcoin's consensus would still accept a non-taptweak'd internal key as it verifies a signature against whatever pk is used in the witness program. So the outputs are still spendable, however it deviates from the spec.
- Loading branch information