Skip to content

Commit

Permalink
Update mock.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
balqaasem committed Aug 30, 2021
1 parent 1b08d62 commit bc9c98b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib-serml/tokens/currencies/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ pub const SETEUR: CurrencyId = CurrencyId::Token(TokenSymbol::SETEUR);
pub const SETGBP: CurrencyId = CurrencyId::Token(TokenSymbol::SETGBP);
pub const SETCHF: CurrencyId = CurrencyId::Token(TokenSymbol::SETCHF);
pub const SETSAR: CurrencyId = CurrencyId::Token(TokenSymbol::SETSAR);
pub const BTC: CurrencyId = CurrencyId::Token(TokenSymbol::RENBTC);


parameter_types! {
Expand Down Expand Up @@ -239,7 +238,7 @@ thread_local! {

pub struct MockPriceSource;
impl MockPriceSource {
pub fn set_relative_price(price: Option<Price>) {
pub fn _set_relative_price(price: Option<Price>) {
RELATIVE_PRICE.with(|v| *v.borrow_mut() = price);
}
}
Expand Down

0 comments on commit bc9c98b

Please sign in to comment.