pub fn compute_merkle_root(leaf: &Pubkey, merkle_proof: &ProofInfo) -> [u8; 32]
Expand description

Compute the root of a Merkle tree given a leaf and a proof. Uses a constant value of 0x01 as an input to the hashing function along with the values to be hashed.