Skip to main content

check_requested

Function check_requested 

Source
pub fn check_requested(
    requested: &[B256],
    proof: &AccountProof,
) -> Result<(), ProofError>
Expand description

Check that a proof answers exactly the requested slots (any order, no extras). A node that answers for other slots must not be able to plant values under the wrong key.