update tolerance

This commit is contained in:
Hardhat Chad
2024-04-30 18:47:48 +00:00
parent 4dd09b4a70
commit 93657d02cc
6 changed files with 89 additions and 3 deletions

View File

@@ -17,6 +17,8 @@ pub enum OreError {
StakeTooLarge = 4,
#[error("The clock time is invalid")]
ClockInvalid = 5,
#[error("The tolerance cannot be negative")]
ToleranceNegative = 6,
}
impl From<OreError> for ProgramError {