mirror of
https://github.com/d0zingcat/ore.git
synced 2026-06-09 07:36:52 +00:00
randomize hash
This commit is contained in:
@@ -116,7 +116,7 @@ pub(crate) fn validate_hash(
|
||||
signer.as_ref(),
|
||||
]);
|
||||
if hash.gt(&difficulty) {
|
||||
return Err(OreError::DifficultyNotSatisfied.into());
|
||||
return Err(OreError::HashInvalid.into());
|
||||
}
|
||||
Ok(hash)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user