randomize hash

This commit is contained in:
Hardhat Chad
2024-04-14 06:12:35 +00:00
parent ca1820606d
commit 9122429140
5 changed files with 13 additions and 27 deletions

View File

@@ -13,12 +13,10 @@ pub enum OreError {
ResetTooEarly = 2,
#[error("The provided hash was invalid")]
HashInvalid = 3,
#[error("The provided hash does not satisfy the difficulty requirement")]
DifficultyNotSatisfied = 4,
#[error("The bus does not have enough rewards to issue at this time")]
BusRewardsInsufficient = 5,
BusRewardsInsufficient = 4,
#[error("The claim amount cannot be greater than the claimable rewards")]
ClaimTooLarge = 6,
ClaimTooLarge = 5,
}
impl From<OreError> for ProgramError {