Update mine.rs

This commit is contained in:
Hardhat Chad
2024-03-08 08:48:44 -06:00
committed by GitHub
parent 756f245158
commit 9c2ae99ff9

View File

@@ -98,6 +98,8 @@ pub fn process_mine<'a, 'info>(
Ok(())
}
/// Validates the provided hash, ensursing it is equal to SHA3(current_hash, singer, nonce).
/// Fails if the provided hash is valid but does not satisfy the required difficulty.
pub(crate) fn validate_hash(
current_hash: KeccakHash,
hash: KeccakHash,