Browse Source

error: restore missing error

aggstam 3 years ago
parent
commit
b21e787319
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/error.rs

+ 3 - 0
src/error.rs

@@ -217,6 +217,9 @@ pub enum Error {
     // =======================
     // Protocol-related errors
     // =======================
+    #[error("Unsupported chain")]
+    UnsupportedChain,
+
     #[error("JSON-RPC error: {0}")]
     JsonRpcError(String),