Fix RPC error code conflict (#14315)

* Base error code module

* Base error code module

* fmt
This commit is contained in:
Arkadiy Paronyan authored and GitHub committed 2023-06-09 18:24:49 +02:00
1 parent ee895b3986
commit 881fd1e0dc
9 files changed
+36 -7

No files matched your search

+1 -1
View File
@@ -44,7 +44,7 @@ pub enum Error {
}
/// Base error code for all dev errors.
const BASE_ERROR: i32 = 6000;
const BASE_ERROR: i32 = crate::error::base::DEV;
impl From<Error> for JsonRpseeError {
fn from(e: Error) -> Self {