add stake and vote errors (#5814)
* add stake errors * remove self from type_of * sheesh * better * add stake errors * update wallet error handling * fixup
This commit is contained in:
@ -14,7 +14,7 @@ pub enum SystemError {
|
||||
}
|
||||
|
||||
impl<T> DecodeError<T> for SystemError {
|
||||
fn type_of(&self) -> &'static str {
|
||||
fn type_of() -> &'static str {
|
||||
"SystemError"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user