Function get_previous_hash

Source
pub async fn get_previous_hash<'a>(
    blocks_collection: &'a Collection<Document>,
    blockchain_collection: &'a Collection<Document>,
) -> String
Expand description

Retrieve the last hash in the chain.