mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 22:37:57 +00:00
Fix RPC error code conflict (#14315)
* Base error code module * Base error code module * fmt
This commit is contained in:
@@ -57,7 +57,7 @@ pub enum Error {
|
||||
}
|
||||
|
||||
/// Base code for all authorship errors.
|
||||
const BASE_ERROR: i32 = 1000;
|
||||
const BASE_ERROR: i32 = crate::error::base::AUTHOR;
|
||||
/// Extrinsic has an invalid format.
|
||||
const BAD_FORMAT: i32 = BASE_ERROR + 1;
|
||||
/// Error during transaction verification in runtime.
|
||||
|
||||
Reference in New Issue
Block a user