fn convert_layer_proof()

in akd_client/src/tests.rs [102:115]


fn convert_layer_proof<H>(
    parent: akd::NodeLabel,
    direction: akd::Direction,
    sibling: akd::Node<H>,
) -> crate::types::LayerProof
where
    H: winter_crypto::Hasher,
{
    crate::types::LayerProof {
        direction,
        label: convert_label(parent),
        siblings: [convert_node(sibling)],
    }
}