This commit is contained in:
Hardhat Chad
2024-03-07 18:48:01 +00:00
parent cba2c748e2
commit 3af8f31089
20 changed files with 165 additions and 27 deletions

View File

@@ -7,8 +7,8 @@ use thiserror::Error;
pub enum OreError {
#[error("The epoch is still active and cannot be reset")]
EpochActive = 0,
#[error("The epoch has expired and needs reset")]
EpochExpired = 1,
#[error("The epoch has ended and needs reset")]
EpochEnded = 1,
#[error("The provided hash was invalid")]
InvalidHash = 2,
#[error("The provided hash does not satisfy the difficulty requirement")]