“If the spending conditions do not require a script path, the output key should commit to an unspendable script path instead of having no script path. This can be achieved by computing the output key point as Q = P + int(hash_TapTweak(bytes(P)))G”
Calling ’taproot_tree_helper’ calls ‘hash_TapLeaf’ instead of ‘hash_TapTweak’.