This commit is contained in:
Hardhat Chad
2024-04-27 18:06:36 +00:00
parent f4d36f9b9f
commit b30cee7eb2
8 changed files with 90 additions and 12 deletions

View File

@@ -17,8 +17,10 @@ pub enum OreError {
BusRewardsInsufficient = 4,
#[error("The claim amount cannot be greater than the claimable rewards")]
ClaimTooLarge = 5,
#[error("The stake amount cannot exceed u64 size")]
StakeTooLarge = 6,
#[error("The clock time is invalid")]
ClockInvalid = 6,
ClockInvalid = 7,
}
impl From<OreError> for ProgramError {