calculate_merkle_root
Calculate the Merkle root of a script tree
Arguments
tree- The script tree
Returns
Option<u256>- The Merkle root if tree has scripts, None for key-path only
Fully qualified path: alexandria_btc::taproot::calculate_merkle_root
pub fn calculate_merkle_root(tree: @TapTree) -> Option<u256>