hash

fun hash(tree: ScriptTree<ScriptLeaf>): ByteVector32

Return

the hash of the input merkle tree