pub async fn get_previous_hash<'a>(
blocks_collection: &'a Collection<Document>,
blockchain_collection: &'a Collection<Document>,
) -> StringExpand description
Retrieve the last hash in the chain.
pub async fn get_previous_hash<'a>(
blocks_collection: &'a Collection<Document>,
blockchain_collection: &'a Collection<Document>,
) -> StringRetrieve the last hash in the chain.