Skip to content

Commit

Permalink
price-aggr: Remove require_paused from setPairDecimals
Browse files Browse the repository at this point in the history
  • Loading branch information
CostinCarabas committed Aug 6, 2024
1 parent cfee653 commit a851372
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions contracts/price-aggregator/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -377,8 +377,6 @@ pub trait PriceAggregator:
#[only_owner]
#[endpoint(setPairDecimals)]
fn set_pair_decimals(&self, from: ManagedBuffer, to: ManagedBuffer, decimals: u8) {
self.require_paused();

self.pair_decimals(&from, &to).set(Some(decimals));
let pair = TokenPair { from, to };
self.clear_submissions(&pair);
Expand Down

0 comments on commit a851372

Please sign in to comment.