Skip to content

Commit

Permalink
fix(endpoints): update prices url (#1928)
Browse files Browse the repository at this point in the history
  • Loading branch information
smk762 authored Aug 3, 2023
1 parent 867a01a commit 54dce3c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mm2src/coins/lp_price.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use std::collections::HashMap;
use std::str::Utf8Error;

const PRICE_ENDPOINTS: [&str; 2] = [
"https://prices.komodo.earth:1313/api/v2/tickers",
"https://prices.komodo.earth/api/v2/tickers",
"https://prices.cipig.net:1717/api/v2/tickers",
];

Expand Down
2 changes: 1 addition & 1 deletion mm2src/mm2_main/src/lp_ordermatch/simple_market_maker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ use std::collections::{HashMap, HashSet};
use uuid::Uuid;

// !< constants
pub const KMD_PRICE_ENDPOINT: &str = "https://prices.komodo.earth:1313/api/v2/tickers";
pub const KMD_PRICE_ENDPOINT: &str = "https://prices.komodo.earth/api/v2/tickers";
pub const BOT_DEFAULT_REFRESH_RATE: f64 = 30.0;
pub const PRECISION_FOR_NOTIFICATION: u64 = 8;
const LATEST_SWAPS_LIMIT: usize = 1000;
Expand Down

0 comments on commit 54dce3c

Please sign in to comment.