mirror of
https://github.com/uqbar-dao/nectar.git
synced 2024-12-23 08:32:23 +03:00
refactor to reduce crazy repetition
This commit is contained in:
parent
425a3995b5
commit
a2286ad3c4
File diff suppressed because it is too large
Load Diff
@ -59,7 +59,7 @@ pub enum EthResponse {
|
|||||||
Err(EthError),
|
Err(EthError),
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Serialize, Deserialize)]
|
#[derive(Debug, Serialize, Deserialize, PartialEq)]
|
||||||
pub enum EthError {
|
pub enum EthError {
|
||||||
/// provider module cannot parse message
|
/// provider module cannot parse message
|
||||||
MalformedRequest,
|
MalformedRequest,
|
||||||
|
Loading…
Reference in New Issue
Block a user