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:
		@@ -13,7 +13,7 @@ pub enum TokenError {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
impl<T> DecodeError<T> for TokenError {
 | 
			
		||||
    fn type_of(&self) -> &'static str {
 | 
			
		||||
    fn type_of() -> &'static str {
 | 
			
		||||
        "TokenError"
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user