mirror of
https://github.com/d0zingcat/ore.git
synced 2026-05-18 23:16:48 +00:00
little cleanup
This commit is contained in:
@@ -5,7 +5,7 @@ use thiserror::Error;
|
||||
#[derive(Debug, Error, Clone, Copy, PartialEq, Eq, IntoPrimitive)]
|
||||
#[repr(u32)]
|
||||
pub enum OreError {
|
||||
#[error("The start time has not passed yet")]
|
||||
#[error("The starting time has not passed yet")]
|
||||
NotStarted = 0,
|
||||
#[error("The epoch has ended and needs reset")]
|
||||
NeedsReset = 1,
|
||||
@@ -15,9 +15,9 @@ pub enum OreError {
|
||||
HashInvalid = 3,
|
||||
#[error("The provided hash does not satisfy the difficulty requirement")]
|
||||
DifficultyNotSatisfied = 4,
|
||||
#[error("The bus has insufficient rewards to issue at this time")]
|
||||
#[error("The bus does not have enough rewards to issue at this time")]
|
||||
BusRewardsInsufficient = 5,
|
||||
#[error("The claim amount cannot be larger than the claimable rewards")]
|
||||
#[error("The claim amount cannot be greater than the claimable rewards")]
|
||||
ClaimTooLarge = 6,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user