mirror of
https://github.com/d0zingcat/ore.git
synced 2026-05-20 15:10:32 +00:00
update mine transaction introspection to use declared proof
This commit is contained in:
@@ -27,6 +27,10 @@ pub enum OreError {
|
||||
CannotClose = 9,
|
||||
#[error("This account cannot be crowned because its last stake was too recent")]
|
||||
CannotCrown = 10,
|
||||
#[error("Only the declared proof can be processed in this transaction")]
|
||||
DeclaredProofMissmatch = 11,
|
||||
#[error("Failed to find and parse the declared proof from the transaction")]
|
||||
FindAndParseDeclaredProofFailed = 12,
|
||||
}
|
||||
|
||||
impl From<OreError> for ProgramError {
|
||||
|
||||
Reference in New Issue
Block a user