diff --git a/rpc-client-api/src/custom_error.rs b/rpc-client-api/src/custom_error.rs index 116f5594c14b87..9b97e98635d323 100644 --- a/rpc-client-api/src/custom_error.rs +++ b/rpc-client-api/src/custom_error.rs @@ -134,7 +134,7 @@ impl From for Error { }, RpcCustomError::TransactionPrecompileVerificationFailure(e) => Self { code: ErrorCode::ServerError( - JSON_RPC_SERVER_ERROR_TRANSACTION_SIGNATURE_VERIFICATION_FAILURE, + JSON_RPC_SERVER_ERROR_TRANSACTION_PRECOMPILE_VERIFICATION_FAILURE, ), message: format!("Transaction precompile verification failure {e:?}"), data: None,