mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-29 02:07:56 +00:00
Fix RPC error code conflict (#14315)
* Base error code module * Base error code module * fmt
This commit is contained in:
@@ -37,7 +37,7 @@ pub enum Error {
|
||||
}
|
||||
|
||||
/// Base error code for all chain errors.
|
||||
const BASE_ERROR: i32 = 3000;
|
||||
const BASE_ERROR: i32 = crate::error::base::CHAIN;
|
||||
|
||||
impl From<Error> for JsonRpseeError {
|
||||
fn from(e: Error) -> Self {
|
||||
|
||||
Reference in New Issue
Block a user